question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Polymer 3.3.0 breaks Flow

See original GitHub issue

See 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 unnecessary shadowRoot creation. That will fix immediately a lot of cases (along with beverage) .
  • understand what to do with attachShadow method . This is Element 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 the attachShadow 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
plekucommented, Oct 28, 2019

I’ve bumped the priority - I hope we’ll get to this in this / next week.

0reactions
denis-anisimovcommented, Nov 8, 2019

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 using attachShadowRoot Element API method. This is not fixed: this should be fixed on Polymer side (see the ticket above). So since Polymer 3.3.0 is not really ready I didn’t switch Polymer version. It’s still 3.2.0 (hardcoded). But I’ve added a parameter which can be used :

  • in dev mode devmode.polymer.version parameter can be used in a deployment config to specify the polymer version (or vaadin.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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found