Skip to content

Adds a vendor prefix for position sticky - #10747

Merged
juliusknorr merged 1 commit into
masterfrom
fix/10745/sticky-safari
Aug 20, 2018
Merged

Adds a vendor prefix for position sticky#10747
juliusknorr merged 1 commit into
masterfrom
fix/10745/sticky-safari

Conversation

@weeman1337

@weeman1337weeman1337 commented Aug 19, 2018

Copy link
Copy Markdown
Member

Safari needs a vendor prefix for position: sticky;.

closes#10745

@weeman1337weeman1337 added bug design Design, UI, UX, etc. labels Aug 19, 2018
Comment threadcore/css/functions.scss Outdated
position: -webkit-sticky; // Safari support
position: sticky;
} @else {
position: sticky;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

position: $value; ?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argh you saw it before I could fix it ;)

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
@weeman1337
weeman1337force-pushed the fix/10745/sticky-safari branch from f7ed2a1 to 18b677eCompareAugust 19, 2018 10:02
@weeman1337weeman1337 added the 3. to review Waiting for reviews label Aug 19, 2018
@weeman1337weeman1337 added this to the Nextcloud 14 milestone Aug 19, 2018
@skjnldsv

skjnldsv commented Aug 20, 2018

Copy link
Copy Markdown
Member

@juliushaertl do we want to introduce a mixin for two sticky only? :)

@weeman1337

Copy link
Copy Markdown
MemberAuthor

@skjnldsv the idea was to not duplicate logic. If we find out that e.g. IE freaks out with that too, it's just one place to change.

@skjnldsv

Copy link
Copy Markdown
Member

@weeman1337 Yes, I understand your logic :)
It's just that adding 15 lines instead of 3 for a function that only supports position with a webkit prefix is maybe a bit too much ;)

@juliusknorr

Copy link
Copy Markdown
Member

I'd say the mixin makes sense here. We need a position fixed fallback for IE when sticky is applied anyway. So better have that grouped together.

@skjnldsvskjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get this in then :)

@juliusknorr
juliusknorr merged commit 6e10358 into masterAug 20, 2018
@juliusknorr
juliusknorr deleted the fix/10745/sticky-safari branch August 20, 2018 13:12
@rullzerrullzer mentioned this pull request Aug 24, 2018
3 tasks
@MorrisJobkeMorrisJobke mentioned this pull request Aug 24, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugdesignDesign, UI, UX, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NC 14] Sidebar close icon; incompatible 'position: sticky' in Safari

4 participants

@weeman1337@skjnldsv@juliusknorr@kesselb