Skip to content

Commit

Permalink
fix(copyToClipboard): enhance compatibility with some versions of iOS #…
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed Feb 18, 2020
1 parent 63371cb commit 45ef888
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui/src/components/dialog/QDialog.js
Expand Up @@ -305,7 +305,7 @@ export default Vue.extend({
__renderPortal (h) {
const on = {
...this.$listeners,
// stop propagating this events from children
// stop propagating these events from children
input: stop,
'popup-show': stop,
'popup-hide': stop
Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/pagination/QPagination.js
Expand Up @@ -76,11 +76,11 @@ export default Vue.extend({
},

watch: {
min (value) {
min () {
this.model = this.value
},

max (value) {
max () {
this.model = this.value
}
},
Expand Down
1 change: 1 addition & 0 deletions ui/src/utils/copy-to-clipboard.js
@@ -1,6 +1,7 @@
function fallback (text) {
const area = document.createElement('textarea')
area.value = text
area.contentEditable = true
area.style.position = 'fixed' // avoid scrolling to bottom

document.body.appendChild(area)
Expand Down

0 comments on commit 45ef888

Please sign in to comment.