Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate theme attribute #238

Merged
merged 5 commits into from
May 27, 2019
Merged

Propagate theme attribute #238

merged 5 commits into from
May 27, 2019

Conversation

yuriy-fix
Copy link
Contributor

@yuriy-fix yuriy-fix commented May 15, 2019

Propagate theme attribute to nested overlays, list-boxes and items.


This change is Reviewable

src/vaadin-context-menu-overlay.html Outdated Show resolved Hide resolved
src/vaadin-contextmenu-items-mixin.html Outdated Show resolved Hide resolved
src/vaadin-context-menu-overlay.html Outdated Show resolved Hide resolved
src/vaadin-contextmenu-items-mixin.html Outdated Show resolved Hide resolved
test/items.html Outdated Show resolved Hide resolved
test/items.html Outdated Show resolved Hide resolved
@yuriy-fix yuriy-fix force-pushed the propagate-theme branch 3 times, most recently from 36a3e97 to 103fd97 Compare May 15, 2019 12:26
Copy link
Member

@tomivirkki tomivirkki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works but there's a weird side-effect
Screenshot 2019-05-15 16 24 32

@yuriy-fix
Copy link
Contributor Author

The side-effect is now fixed.

Copy link
Member

@tomivirkki tomivirkki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the theme attribute is removed, the change is only reflected to the first menu. It's sub-menus will still have the previous theme.

@yuriy-fix yuriy-fix self-assigned this May 27, 2019
@yuriy-fix
Copy link
Contributor Author

Fixed and test for removal of the theme attribute from nested elements is added.

@yuriy-fix yuriy-fix merged commit 5e5b272 into master May 27, 2019
@web-padawan web-padawan deleted the propagate-theme branch July 30, 2021 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants