Comments (5)
that's because for linux the blockui does not apply the opacity for performance issues.
Anyway I modified it and tested it, and I could not notice a delay.
from blockui.
I had tested it is working with overlay on ff/linux.
The performace issue can be in fact of fadeIn on overlay/opacity ...
from blockui.
On line 337, I changed to apply only if the fade is not in ff/linux
if (opts.fadeIn) {
var cb = opts.onBlock ? opts.onBlock : noOp;
var cb1 = (opts.showOverlay && !msg) ? cb : noOp;
var cb2 = msg ? cb : noOp;
if (opts.showOverlay)
if(!($.browser.mozilla && /Linux/.test(navigator.platform))){
lyr2._fadeIn(opts.fadeIn, cb1);
}else{
lyr2.show();
}
if (msg)
lyr3._fadeIn(opts.fadeIn, cb2);
}
from blockui.
Have you noticed a delay when using fadein in ff/linux?
from blockui.
I'm not seeing any delays, but I got the driver installed nvidia ... others have not, this delay may have noticed ...
The idea is to apply only to fade in the message if ff / linux, not on overlayMask
And overlayMask not handle the opacity via JS in chrome, only by using CSS:
div.blockOverlay {
filter: alpha (opacity = 50);
opacity: 0.5;
}
I made some modifications, if you can arrange for you.
from blockui.
Related Issues (20)
- Message not centered in jQuery-ui Tabs HOT 4
- onUnblock not called on nth (< 1) use
- Is this project dead? HOT 1
- License Inconsistencies
- Bower install invalid-mta errors HOT 1
- Minified version with bower
- Unable to run Asynchronously with other scripts
- Semantic version
- Refused to apply inline style because it violates the following content security policy directive HOT 1
- block ui does not work on desktop version in safari,chrome and firefox browser
- accessibility support
- Mouse normal HOT 2
- Modal and SweetAlert
- Update the blocked message without re-blocking?
- Listen events 'block' and 'unblock'
- $.blockUI.defaults.message migrate Jquery 1.12 to 3.5
- Safari problems
- demo page HOT 3
- Can't download production version HOT 1
- Jquery Migrate says "isFunction" is deprecated HOT 1
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 blockui.