deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

Picking Info Object returns null in Safari/iOS

Open j13y opened this issue 8 years ago • 8 comments

Every time when I try to call Picking Engine directly (using example code) or trigger built-in event I got null (instead of an event) in Safari/iOS. It's fine in Desktop browsers.

My deck.gl version is 6.1.1

j13y avatar Oct 04 '18 10:10 j13y

Is this still an issue in 6.2.0?

Pessimistress avatar Oct 16 '18 17:10 Pessimistress

@Pessimistress not at all errors in Safari/iOS

j13y avatar Oct 16 '18 20:10 j13y

Can you post a code snippet here that reproduce this issue?

Picking on the deck.gl website in iOS Safari is working on my device.

Pessimistress avatar Oct 16 '18 20:10 Pessimistress

The same as in this guide: Using the Built-in Event-Handling

onClick and onHover in this example doesn't work for me: http://deck.gl/#/examples/core-layers/icon-layer

j13y avatar Oct 17 '18 07:10 j13y

@jarekpelczynski , I am not able to reproduce this , tried on iOS Safari using xCode simulator, picking info contains valid data. screen shot 2018-10-22 at 11 12 01 am

Can you give more details on how you are reproducing this issue? And is this specific to IconLayer example only? Also note that IconLayer will have some warning for Non-power of two textures, but these warning are totally fine and shouldn't cause any issues.

1chandu avatar Oct 22 '18 18:10 1chandu

@1chandu I've made test again with version 6.2 and it works, probably old versions was cached on iOS Simulator. Sorry for the confusion.

j13y avatar Nov 02 '18 22:11 j13y

I found that picking info in v6.3.0 doesn't work again on iOS – for instance: http://deck.gl/#/examples/core-layers/icon-layer

j13y avatar Jan 08 '19 12:01 j13y

Closing .., please re open if this still happens with latest release.

1chandu avatar Jan 14 '20 23:01 1chandu