Skip to content

'floating toolbar' overlaps with native default 'context menu' in Mobile #4619

Description

@electroluxcode

Description

'floating toolbar' overlaps with native default 'context menu' in Mobile , like this pic

Image

I can't find a way to listen to the position or other properties of the native toolbar
Maybe we can consider it

  1. Ensure that your own toolbar is located below the editable area (it seems that 'notion' does this)
  2. Disable native toolbar

ref:

  1. https://stackoverflow.com/questions/22693315/contenteditable-on-ios-control-prevent-selection-toolbar
  2. https://stackoverflow.com/questions/16039219/disable-selection-context-menu-in-ios-safari?rq=3
  3. https://stackoverflow.com/questions/12304012/preventing-default-context-menu-on-longpress-longclick-in-mobile-safari-ipad
  4. https://stackoverflow.com/questions/71916923/open-safari-context-menu-below-text-selection

Reproduction URL

No response

Reproduction steps

1. go to `https://platejs.org/` in mobile
2. selection some area

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmobileneeds-triageMaintainer needs to evaluate this issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions