Prevent element selection on mobile

I am creating an interactive map with location stars on it. On mobile when you touch a star a description displays. Most of the time the background map element gets selected and the star does not fire. How can I prevent the map element from being selected on mobile?

Rough prototype at https://firesprinklerassoc.org/map-test/

Thanks

Check ‘Ignore all pointer events’ for the background map elements in the Actions Inspector under the Pointer section.

2 Likes

Thank you Kalle!

1 Like