[bugfix] Toast: mask render uncorrectly when forbidClick (#1154)
This commit is contained in:
@@ -33,10 +33,6 @@ function createInstance() {
|
||||
// transform toast options to popup props
|
||||
function transformer(options) {
|
||||
options.overlay = options.mask;
|
||||
if (options.forbidClick && !options.overlay) {
|
||||
options.overlay = true;
|
||||
options.overlayStyle = { background: 'transparent' };
|
||||
}
|
||||
return options;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user