Skip to content

Pickable prop on ScatterplotLayer causes strange shaking/scaling issue on iOS Safari #5140

Closed
@amamenko

Description

@amamenko

Description

I've noticed that when the pickable prop is set to true on the ScatterplotLayer and the layer is clicked on mobile iOS Safari, the whole layer seems to scale and reorient its points in a strange fashion upon click and then returns back to normal. The expected behavior would be the layer maintaining its original orientation on click.

The tooltip need not be activated for this effect to be visible. The ScatterplotLayer works as expected with the pickable prop in Chrome.

Repro Steps

  1. Create ScatterplotLayer with several points.
  2. Set pickable prop to true.
  3. Open iOS Safari browser.
  4. Click anywhere on ScatterplotLayer (varying severity at different zoom levels).

An example of this scaling and shaking issue can be seen on the deck.gl website's ScatterplotLayer demo (which also has tooltip interactivity to show that the layer was indeed clicked.

Another example with more data points and an exaggerated effect can be seen below with my implementation of the ScatterplotLayer (layer is being clicked and no tooltips are shown).

Environment

iPhone 11 Software Version 14.1 on iOS Safari

Any assistance would be greatly appreciated!

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions