onCustomLayerClick doesn't work on some mobile devices. You have to tap very lightly/delicately to get the touch event to work.
Expected behavior
On devices like iPad Pro, Surface, iPhone 11, etc, onCustomLayerClick works completely fine.
onCustomLayerClick doesn't work on these devices:
Device: iPhone 8 Plus
OS: 15.1
Browser: Safari
Version: 15.1
Device: Samsung Galaxy S21+ 5G
OS: Android 11, One UI 3.1
Browser: Chrome
Additional context
Is there any other way to access the object on touch devices? Something like onCustomLayerTouch? Or someway to access the object manually to implement custom touch events? I'm thinking of something like world.scene().children.find(obj3d => obj3d.type === "globeObj.__globeObjType");
@franciscosierra1915 perhaps this is related to the type of object that you've used in customThreeObject. Do you have a repro example on codepen or so that we can check?
Describe the bug
onCustomLayerClick doesn't work on some mobile devices. You have to tap very lightly/delicately to get the touch event to work.
Expected behavior
On devices like iPad Pro, Surface, iPhone 11, etc, onCustomLayerClick works completely fine.
onCustomLayerClick doesn't work on these devices:
Additional context Is there any other way to access the object on touch devices? Something like onCustomLayerTouch? Or someway to access the object manually to implement custom touch events? I'm thinking of something like world.scene().children.find(obj3d => obj3d.type === "globeObj.__globeObjType");