Polymer 3.3.0 breaks Flow
See original GitHub issueSee the detailed explanation what’s going on here: https://github.com/vaadin/flow/issues/5966#issuecomment-507232485
There are things to do:
- make a quick fix for
PolymerTemplate
class which allows to avoid unnecessaryshadowRoot
creation. That will fix immediately a lot of cases (along with beverage) . - understand what to do with
attachShadow
method . This isElement
API and it may be called by the app developer explicitly. In case of Polymer element it may cause the same issue as we have now. Most likely there is no need to create a shadow root for polymer element at all so this method can be no-op. But it should be possible to add something to the shadow root. And since it may be not available at theattachShadow
call we should postpone somehow operations with shadow root when it becomes available. This is true for polymer elements. For other elements there should not be changes I believe.
It can be just a bug in Polymer 3.3.0
: it doesn’t reuse the existing shadow root.
Feel free to create a separate ticket for shadow root only issue.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Scission of flexible polymers in contraction flow: Predicting the ...
Shear flow is a superposition of extension and rotation, in which a polymer chain stretches along the extensional direction, but rotates so that ......
Read more >Comparative Analysis of the Impact of Additively Manufactured ...
dependent on the nominal fiber content and melt flow distance. Conclusions toward the improvement of additively manufactured polymer tool ...
Read more >Change Log — HOOMD-blue 3.3.0 documentation
[breaking] update_group_dof defers counting the degrees of freedom until the next ... Allow the flow to change directions in md.update.mueller_plathe_flow.
Read more >Processing-of-Extended-Release-Tablets ... - Lubrizol
Ltd., Taiwan), Carbopol® 971P NF polymer [CBP 971P NF] (Lubrizol Advanced ... distribution before and after sizing through 18-mesh screen, and flow ......
Read more >ioBroker node-red Adapter - npm
Safe mode - Flows will not be started, and you can edit the flows to fix ... (Apollon77) BREAKING update from node-red-contrib-aggregator: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve bumped the priority - I hope we’ll get to this in this / next week.
PR: https://github.com/vaadin/flow/pull/6889
It makes a workaround for Polymer
3.3.0
in its current state. There still may be an issue if you are usingattachShadowRoot
Element API method. This is not fixed: this should be fixed on Polymer side (see the ticket above). So since Polymer3.3.0
is not really ready I didn’t switch Polymer version. It’s still3.2.0
(hardcoded). But I’ve added a parameter which can be used :devmode.polymer.version
parameter can be used in a deployment config to specify the polymer version (orvaadin.devmode.polymer.version
as a system property )polymerVersion
config parameter for maven plugin. You may specify a value via this property if you build the project production.Tested with beverage: it works without problems.