fix(iOS): fix faux-sticky button placement (#715)

hopefully the final fix for #667 to make it actually work
This commit is contained in:
Nolan Lawson 2018-12-02 15:57:39 -08:00 committed by GitHub
parent 26b84c435a
commit b22a1ec90c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -119,7 +119,6 @@
document.body.appendChild(element) document.body.appendChild(element)
let rect = this.refs.wrapper.getBoundingClientRect() let rect = this.refs.wrapper.getBoundingClientRect()
Object.assign(element.style, { Object.assign(element.style, {
right: `${rect.right}px`,
left: `${rect.left}px`, left: `${rect.left}px`,
position: 'fixed' position: 'fixed'
}) })