mirror of https://github.com/rancher/dashboard.git
Fix issue where popperjs spammed console warnings
``` `preventOverflow` modifier is required by `hide` modifier in order to work, be sure to include it before `hide`! ``` - Needed `hide` - https://popper.js.org/docs/v2/modifiers/hide/
This commit is contained in:
parent
2c3801e6e3
commit
f729e001c7
|
|
@ -242,7 +242,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
content: this.shown ? null : item,
|
content: this.shown ? null : item,
|
||||||
placement: 'right',
|
placement: 'right',
|
||||||
popperOptions: { modifiers: { preventOverflow: { enabled: false } } }
|
popperOptions: { modifiers: { preventOverflow: { enabled: false }, hide: { enabled: false } } }
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
return { content: undefined };
|
return { content: undefined };
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue