mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(packages): scope menu data attributes (#1628)
This commit is contained in:
@@ -282,6 +282,9 @@ export class MenuElement extends MediaElement {
|
||||
// Apply base submenu attributes regardless of phase.
|
||||
const transitionState = this.#menuViewTransition.input.current;
|
||||
|
||||
this.removeAttribute(MenuDataAttrs.side);
|
||||
this.removeAttribute(MenuDataAttrs.align);
|
||||
|
||||
applyElementProps(this, {
|
||||
...getMenuViewTransitionAttrs(transitionState),
|
||||
role: 'menu',
|
||||
|
||||
Reference in New Issue
Block a user