Ciao @Ethsim2
Penso che questo sia legato a una modifica che ho apportato la scorsa settimana, cercando di mitigare alcune delle stranezze dell’interfaccia utente dovute a WebKit e iOS, in particolare su iPad.
main ← fix-ipad-cursor-drop
merged 07:34PM - 02 Jul 26 UTC
There are quite a few issues with the composer positioning on iOS devices, espec… ially on iPad because that requests the desktop site and gives a desktop-looking user agent. The main issue is that the cursor drops 1-3 lines when scrolling the background behind the composer.
This utilizes the existing body-scroll-lock library to lock the scroll of the background when the composer is open on iOS devices. This fix adds extra logic to body-scroll-lock to account for 'iPad' when the user agent is requesting the desktop site. Then it wires up the lock/unlock logic to the composer position code.
This effectively locks the background while the composer is focused on iOS devices, which prevents the cursor from dropping. It also mitigates quite a few other UI quirks that occur with background scrolling.
The change to select-kit-collection.gjs was defense against a potential future issue where the select-kit collection could be the target element and would therefore throw in the check.
Oggi sono in pausa e mi occuperò di questo come prima cosa lunedì. Sarebbe utile sapere quale modello di dispositivo stavi utilizzando.