• 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
.github Loading commit data...
bin Loading commit data...
dev-server Loading commit data...
docs Loading commit data...
embedding-examples Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.dockerignore Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.prettierignore Loading commit data...
.prettierrc Loading commit data...
.python-version Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Dockerfile Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
codecov.yml Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...
requirements-dev.in Loading commit data...
tox.ini Loading commit data...
yarn.lock Loading commit data...