I am using BABAYLON.GUI button in my scene, I have couple of issues:
1. First issue is when I click and hold one of button on safari iPhone, my whole scene becomes blue ( like selected everything to copy ), how to avoid this?
this is because safari is selecting the canvas There is a CSS rule to prevent that from happening but I can’t remember which one. ANyway this is a pure html issue
Simply sniff the screen resolution and update the size (or sniff the user agent but this is probably not the best idea)
See Both and @Deltakosh, this is exactly why I posted a rageous comment this morning addressed to Apple about the faen behavior of this piece of useless browser that is Safari on iOS (not about this particular issue, but in general).
I knew (sort of remembered) of something like this when I bounced into this very same issue over the WE. Though it took me 20mins to get to this post (because I didn’t know how to form my question).
THIS SHOULD BE BOLD AND CLEAR EVERYWHERE. Css, js, bjs or any app or framework that is (forced to) make use of this piece of crap that is Safari on iOS.