iOS - Sticky toolbar does not stick #3

Open
opened 2016-12-09 11:48:39 +01:00 by marijnh · 4 comments
marijnh commented 2016-12-09 11:48:39 +01:00 (Migrated from github.com)
See https://github.com/ProseMirror/prosemirror/issues/223
Dev1an commented 2019-04-11 17:05:01 +02:00 (Migrated from github.com)

What about using sticky positioning in CSS instead of Javascript?

See:

What about using sticky positioning in CSS instead of Javascript? See: - [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/position) on `position: sticky` - [Browser compatibility](https://caniuse.com/#feat=css-sticky)
marijnh commented 2019-04-11 17:17:50 +02:00 (Migrated from github.com)

Yes, we know about position: sticky. Back in 2016 it was terribly broken in iOS. Not sure what the current situation is.

Yes, we know about position: sticky. Back in 2016 it was terribly broken in iOS. Not sure what the current situation is.
Dev1an commented 2019-04-11 20:34:58 +02:00 (Migrated from github.com)

The stickyness with CSS works on iOS. I tried it locally and it works fine. Shall I create a new pull request with this feature?

The stickyness with CSS works on iOS. I tried it locally and it works fine. Shall I create a new pull request with this feature?
marijnh commented 2019-04-12 10:27:55 +02:00 (Migrated from github.com)

Sure! Though I think we'd want to keep the existing implementation for browsers where sticky isn't supported.

Sure! Though I think we'd want to keep the existing implementation for browsers where sticky isn't supported.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prosemirror/prosemirror-menu#3
No description provided.