Skip to content

Long press handler does not work as expected #111

Closed

Description

@easbar

On ios12 long-pressing the map shows me the context menu, but as soon as I let go it disappears again, no matter how long I press. I tested this on Safari and Firefox. Firefox version was 34.0 (4920).

On Android it worked in Chrome but on Firefox (68.2.0) the behavior was not ideal either: Long pressing showed me the context menu but it would only stay if I kept pressing for a few seconds after the context menu appeared for the first time.

Activity

  1. added
    bug
    on Jun 17, 2021
  2. karussell commented on Jun 17, 2021

    @karussell
    Member

    Can you include the version for each browser? E.g. my mobile firefox 88.1.1 (build 2015 812 947 seems to be the latest release) works as expected.

  3. easbar commented on Jun 17, 2021

    @easbar
    MemberAuthor

    Oh sure, I added the version information.

  4. easbar commented on Jun 18, 2021

    @easbar
    MemberAuthor

    On the same Android phone the long press worked after upgrading Firefox to 89.1.1

  5. easbar commented on Nov 12, 2021

    @easbar
    MemberAuthor

    On iOS 14.8.1 I cannot open the context menu at all (tried FF, Chrome & Safari). There is a similar issue for Leaflet, but this is about iOS 13, so not sure if it is related: Leaflet/Leaflet#6817

  6. easbar commented on Nov 15, 2021

    @easbar
    MemberAuthor

    I was able to fix this on the OpenLayers branch (ol_exp). This version works on my phone: cb3e74e
    (it also includes #149)

  7. easbar commented on Nov 18, 2021

    @easbar
    MemberAuthor

    On iOS 14.8.1 I cannot open the context menu at all (tried FF, Chrome & Safari)

    I just figured out that this must be related to iPhone 3D Touch. I can open the context menu with a (very) soft touch, but a harder/normal long touch does not open it. But I don't think we should distinguish these different kind of touches in our app, because this only works for a few Apple devices?!

  8. easbar commented on Jan 26, 2022

    @easbar
    MemberAuthor

    Seems to be fixed after #159

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions