You found a bug! We've classified it as
EXTJS-27603
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
-
Touch Premium Member
Ext.Viewport.setMasked(false) fails
Ext version tested:
Browser versions tested against:
- Chrome 67.0.3396.99 (Official Build) (64-bit)
Description:
- Ext.Viewport.setMasked(false) throws a TypeError
Steps to reproduce the problem:
- Create a Mask for the Viewport
- Ext.Viewport.setMasked(false)
The result that was expected:
The result that occurs instead:
- Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
Workaround
Code:
if (Ext.Viewport.getMasked()) {
Ext.Viewport.getMasked().destroy();
}
-
Sencha Staff
Thanks for the report! I have opened a bug in our bug tracker.