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

Fix style scope issues in dynamically named slotted items #108

Merged
merged 1 commit into from
May 29, 2018

Conversation

tomivirkki
Copy link
Member

@tomivirkki tomivirkki commented May 24, 2018

Fixes vaadin/vaadin-grid#1306
Fixes vaadin/vaadin-grid#1227


This change is Reviewable

@manolo
Copy link
Member

manolo commented May 28, 2018

Review status: 0 of 4 files reviewed at latest revision, all discussions resolved.


src/vaadin-split-layout.html, line 69 at r1 (raw file):

    <slot id="secondary" name="secondary"></slot>

    <div hidden>

Could this trick be documented in code somehow. It took a while to me tu understand how this fixes the issue after reading the tickets. I suspect that in the future someone reading this might ask why this is here.


Comments from Reviewable

@tomivirkki
Copy link
Member Author

src/vaadin-split-layout.html, line 69 at r1 (raw file):

Previously, manolo (Manuel Carrasco Moñino) wrote…

Could this trick be documented in code somehow. It took a while to me tu understand how this fixes the issue after reading the tickets. I suspect that in the future someone reading this might ask why this is here.

I generally avoid adding comments to source because that's usually a sign of badly tested/organized code. Maybe in this case a comment could be in order. Done.


Comments from Reviewable

@manolo
Copy link
Member

manolo commented May 28, 2018

:lgtm:


Review status: all files reviewed at latest revision, all discussions resolved.


src/vaadin-split-layout.html, line 69 at r1 (raw file):

Previously, tomivirkki (Tomi Virkki) wrote…

I generally avoid adding comments to source because that's usually a sign of badly tested/organized code. Maybe in this case a comment could be in order. Done.

Sure, I neither like comments unless they are strictly necessary. Much clearer now.


Comments from Reviewable

@limonte
Copy link
Contributor

limonte commented May 29, 2018

:lgtm:


Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from Reviewable

@limonte limonte merged commit b3dc3dd into master May 29, 2018
@web-padawan web-padawan deleted the fix-style-scope branch August 20, 2018 13:38
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

3 participants