mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
open all modals as sheets in the native app
This commit is contained in:
1 parent
f5b29642ee
commit
c07d76e2a4
1 file changed
+1
@@ -1,6 +1,7 @@
|
||||
export default class extends HTMLElement {
|
||||
connectedCallback () {
|
||||
if (this.dataset.disabled === 'true') return
|
||||
if (/Hotwire Native/.test(navigator.userAgent)) return
|
||||
if (!this.isMobile()) return
|
||||
if (window.innerWidth >= 768) return
|
||||
|
||||
|
||||
Reference in new issue
Block a user