akanjs 3.3.0-rc.20 → 3.3.0-rc.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/ui/styles.css +14 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akanjs",
3
- "version": "3.3.0-rc.20",
3
+ "version": "3.3.0-rc.21",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
package/ui/styles.css CHANGED
@@ -216,6 +216,20 @@ body.akan-mobile-document {
216
216
  contain: layout paint;
217
217
  }
218
218
 
219
+ /* iOS turns a long press on any selectable block into a text selection, so the empty safe-area fills lit up blue
220
+ under a Copy menu wherever the page itself opts out of selection; the frame's bars are app chrome, never text. */
221
+ @media (pointer: coarse) {
222
+ .akan-frame-chrome {
223
+ -webkit-user-select: none;
224
+ user-select: none;
225
+ -webkit-touch-callout: none;
226
+ }
227
+ .akan-frame-chrome :is(input, textarea, [contenteditable]:not([contenteditable="false"])) {
228
+ -webkit-user-select: text;
229
+ user-select: text;
230
+ }
231
+ }
232
+
219
233
  .akan-mobile-frame #pageContainers {
220
234
  position: relative;
221
235
  z-index: 10;