• Eduardo Sanz García's avatar
    Do not select/focus the input element on iOS · 6c1a8996
    Eduardo Sanz García authored
    The text in the input element of the `annotation-share-control` is
    selected and focused when the element is created. This is to
    facilitate copy/paste via keyboard shorcuts. This selection/focus mechanism is working well except for iOS (both Chrome and Safari) where:
    
    * the selection/focus is not shown in the input field except by clicking on the input element.
    
    * the selection overflows the right margin of the input field
    
    I tested `overflow: hidden` on the input element but that causes the selection to overflow on the left margin
    
    Because of these two issues, I recommend to supress selection/focus on iOS devices.
    6c1a8996
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
.eslintrc Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...