You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Somewhat related to my other post (#4206), I have a slightly mad idea how to potentially solve the longstanding bug where the cursor/text selection is visible over toolbars despite it being outside the scrolling element or technically behind the scrollbars. I know this is a bug in iOS Safari and wkwebview and so isn't possible to solve "properly" by yourselves. However I have a mad idea for a workaround...
Would it be possible for capacitor to have the webview be twice the width of the screen (with a transparent background) and then "composite" the right hand (off screen) side back under the left hand (on screen) side?
That way your main app container is set to 50% width and contains all fixed ui elements, then you place your scrollable containers on the right hand 50% to be composited behind the fixed ui elements, thus hopefully getting around the iOS text selection bug. This could even be built into Ionic and enabled on ion-content components.
As I said, slightly mad, but I think it could work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Somewhat related to my other post (#4206), I have a slightly mad idea how to potentially solve the longstanding bug where the cursor/text selection is visible over toolbars despite it being outside the scrolling element or technically behind the scrollbars. I know this is a bug in iOS Safari and wkwebview and so isn't possible to solve "properly" by yourselves. However I have a mad idea for a workaround...
Would it be possible for capacitor to have the webview be twice the width of the screen (with a transparent background) and then "composite" the right hand (off screen) side back under the left hand (on screen) side?
That way your main app container is set to 50% width and contains all fixed ui elements, then you place your scrollable containers on the right hand 50% to be composited behind the fixed ui elements, thus hopefully getting around the iOS text selection bug. This could even be built into Ionic and enabled on
ion-content
components.As I said, slightly mad, but I think it could work.
Beta Was this translation helpful? Give feedback.
All reactions