cryptee / web-client

Cryptee's web client source code for all platforms.
https://crypt.ee
Other
450 stars 23 forks source link

[Bug] Can’t put a cursor after checked items on iOS #119

Closed real-marshal closed 2 years ago

real-marshal commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

If you check an item in a list then you can’t move a cursor below that checked item which means you can’t change any following text or add something new.

To Reproduce Steps to reproduce the behavior:

  1. Create an ordered list
  2. Check an item
  3. Try to change any item below the checked one

Expected behavior A clear and concise description of what you expected to happen.

Change any text anywhere regardless of checked items.

Screenshots If applicable, add screenshots to help explain your problem.

System Information (please complete the following information):

Additional context Add any other context about the problem here.

johnozbay commented 3 years ago

Hi there! 👋🏻 Thanks a lot for filing this and apologies for the delay!

We can reproduce this and we're working on a solution / workaround.

It seems like a bug in iOS Safari and how it handles cursor positioning in a buggy way when there's pointer-events : none and how our editor handles check-box actions.

Checkboxes are ::before pseudo-elements, so on iOS when they are focusable, the rest of the text seems to be not-focusable by the cursor (although it is on desktop Safari, and all other browsers on all other operating systems)

So we're working on a solution for iOS and hopefully will have something soon!

Thanks for reaching out with this, and for your patience!

Best, J

johnozbay commented 2 years ago

Hi there,

Thanks a lot for your patience with this!

Turns out this was a bug with iOS itself, and iOS 15.0.1 seems to have finally fixed this.

[Screenshots can't show the cursor, but I opened the copy/paste popup to show you what I mean]

IMG_8B358F196355-1

Let me know if you happen to bump into this again, and we'll ping the good folks at apple again to give things another look.

All the best,

J