Comments (4)
It might be an idea to just disable scrolling while active, just like a regular alert() does.
from sweetalert.
I'm afraid I don't have access to a WP for testing, so if anyone else wants to take this on, please do!
from sweetalert.
Hi there ( and @t4t5 soory for the late test!)
Just tested this issue. If im on the sweetalert homepage and open a regular alert, no scrolling able. If i open an sweet alert im able to scroll and even press another button while an alert is open.
So the Problem with your code:
body {
touch-action: none;
height: 100%;
overflow: hidden;
}
is, that im now not even able to zoom in the page at all. Thats not that great..
See : https://jsfiddle.net/hyoLyjwc/1/ and https://jsfiddle.net/hyoLyjwc/1/embedded/result/ at WP8
from sweetalert.
Well, Windows Phone 8 is not officially obsolete, but I suspect some things might have been fixed in the new 2.0 release so I'm closing for now.
from sweetalert.
Related Issues (20)
- Failure to install Sweetalert React package HOT 2
- Avoid serving legacy JavaScript to modern browsers
- Submit button brings sweetalert popup without saving data in the database
- I think it's because you're binding an action to "onsubmit" which will by default redirect from the page you're on. Try removing the `onsubmit=` part in your HTML and add this to your JavaScript instead (using jQuery):
- How to prevent a toast (from sweet alert 2) from being closed HOT 1
- Links?
- const swal: SweetAlert; HOT 1
- text break line HOT 1
- How to apply different .swal-overlay for different swal??? HOT 1
- How to center swal-button HOT 1
- Can not Change Color of Pop-Up button HOT 1
- How do we add javascript objects in the sweetalert text HOT 1
- LMS joomla
- Margin Top problems
- @1234
- Link in text
- Typescript error
- Getting the instance of the current swal to change it's text dynamically?
- Unpkg sweetalert unavalable
- Alert with only an icon and title is missing bottom spacing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sweetalert.