[Bug Report][3.6.7] Any properties in contentProps that include the styles "left" or "right" will be removed when resizing #19863
Labels
C: VOverlay
VOverlay
T: bug
Functionality that does not work as intended/expected
T: regression
Something that used to work but we broke
Milestone
Environment
Vuetify Version: 3.6.7
Last working version: 3.3.8
Vue Version: 3.5.0-alpha.2
Browsers: Chrome 124.0.0.0
OS: Windows 10
Steps to reproduce
Have
contentProps
of an Overlay where we setleft: "something"
will be deleted on resize. Try open and close the menus in the reproduction link.Expected Behavior
Respect the
contentProps
Actual Behavior
It did not respect the
contentProps
Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
We have a menu that we want to always be positioned on the right side of the screen while still being directly below the activator in terms of vertical alignment. To achieve this, we override the menu's style using
style: {left: "unset", right: 0}
, which works initially.However, there's an issue introduced in #17338: the
left
style gets deleted every time the screen is resized. Additionally, usingcontentProps
doesn't actually override the style as intended.The text was updated successfully, but these errors were encountered: