fix(iOS): fix faux-sticky button placement (#715)
hopefully the final fix for #667 to make it actually work
This commit is contained in:
parent
26b84c435a
commit
b22a1ec90c
|
@ -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'
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue