"focused" in iOS Safari

Hello

focused parameter doesn’t seem to work ok on Safari for iOS

My website works fine on FireFox / Chrome / Edge on Mac / Windows / Linux / Android / iOS but on Safari/iOS it doesn’t get that “focused” is true

Haven’t tryed on Safari for Mac

Any Idea how to get around that ?

Linking to the open issue (yours?):

Perhaps open an issue if you haven’t already?

If this can’t be resolved for iOS/Safari then at the very least this may need to be updated:

yes mine

May be someone here can tell us if he sees a red cross on this example,
when browsing one Safari/iOS
https://p5js.org/reference/#/p5/focused