-
15 Nov 2012 12:31 AM #1
[4.1.3] Spotlight doesn't mask, but causes scrollbars to be appeared
[4.1.3] Spotlight doesn't mask, but causes scrollbars to be appeared
REQUIRED INFORMATION
Ext version tested:- Ext 4.1.3
- Chrome
- IE9
- <!DOCTYPE html>
- Spotlight appears to be no working in the test case below (apologize if I used it wrong).
- Click the Spot button
- The Spotlight effect
- No the spotlight effect. But scrollbars appear.
Code:<!DOCTYPE html> <html> <head> <title>Spotlight</title> <link type="text/css" rel="stylesheet" href="../resources/css/ext-all.css" /> <script type="text/javascript" src="../ext-all-debug.js"></script> <script type="text/javascript" src="../examples/ux/Spotlight.js"></script> <script type="text/javascript"> Ext.onReady(function () { var spot = Ext.create("Ext.ux.Spotlight", { duration: 300, easing: "easeOut" }); Ext.create("Ext.panel.Panel", { id: "panel1", renderTo: Ext.getBody(), height: 200, width: 200, html: "Some Content" }); Ext.create("Ext.button.Button", { renderTo: Ext.getBody(), text: "Spot", handler: function () { spot.show("panel1"); } }); }); </script> </head> <body> </body> </html>
-
15 Nov 2012 10:31 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
Thanks for the report! I have opened a bug in our bug tracker.
-
1 Jan 2013 4:37 PM #3
The CSS that's in the page is also required for the mask to show up.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
1 Jan 2013 11:54 PM #4
You found a bug! We've classified it as
EXTJSIV-7765
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote