mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
Revert "fix scrolling to fields on Android devices"
This reverts commit e3f3895aac.
This commit is contained in:
1 parent
92b61992f2
commit
f210f1d8bf
1 file changed
+2
-2
@@ -1113,9 +1113,9 @@ export default {
|
||||
this.minimizeForm()
|
||||
}
|
||||
|
||||
const isMobile = 'ontouchstart' in window && navigator.maxTouchPoints > 0 && /AppleWebKit|android/i.test(navigator.userAgent)
|
||||
const isMobileSafariIos = 'ontouchstart' in window && navigator.maxTouchPoints > 0 && /AppleWebKit/i.test(navigator.userAgent)
|
||||
|
||||
if (isMobile || /iPhone|iPad|iPod/i.test(navigator.userAgent)) {
|
||||
if (isMobileSafariIos || /iPhone|iPad|iPod/i.test(navigator.userAgent)) {
|
||||
this.$nextTick(() => {
|
||||
const root = this.$root.$el.parentNode.getRootNode()
|
||||
const scrollbox = root.getElementById('scrollbox')
|
||||
|
||||
Reference in new issue
Block a user