fix double scrollbar display bug in mobile
This commit is contained in:
parent
e97f8a4728
commit
0bb8247822
4 changed files with 22 additions and 4 deletions
|
@ -39,7 +39,14 @@ export default {
|
|||
window.CSS.supports('-moz-mask-size', 'contain') ||
|
||||
window.CSS.supports('-ms-mask-size', 'contain') ||
|
||||
window.CSS.supports('-o-mask-size', 'contain')
|
||||
)
|
||||
),
|
||||
isMobile: navigator.userAgent.match(/Android/i) ||
|
||||
navigator.userAgent.match(/webOS/i) ||
|
||||
navigator.userAgent.match(/iPhone/i) ||
|
||||
navigator.userAgent.match(/iPad/i) ||
|
||||
navigator.userAgent.match(/iPod/i) ||
|
||||
navigator.userAgent.match(/BlackBerry/i) ||
|
||||
navigator.userAgent.match(/Windows Phone/i)
|
||||
}),
|
||||
created () {
|
||||
// Load the locale from the storage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue