Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Stencil Bugs Tracking Progress

Matt Driscoll edited this page Feb 21, 2020 · 35 revisions

Stencil Bugs

This page tracks the progress on bug issues this team has opened against Ionic's Stencil.js repository. It also tracks any existing bugs that have an impact on us.

Open

Summary Github ZenDesk Description Status Priority
Toggling Attributes doesn't work in Edge issue Wrapping components sometimes exercise control over their shadowdom or slotted nodes by modifying attributes. The most common case is hide/show via the hidden attribute. This behavior is broken in Edge Open
Unit Tests fail with imported Dependencies issue If a component .tsx file imports a dependency from node_modules, the unit test fails during pre-compilation. Open
Overriding default state in the constructor fails issue If an @State() prop is defined with a default value, any attempt to overwrite that property via assignment operator in the constructor function does not change the value. Open
No helpers for testing functional components issue Open
Custom d.ts files are not included in build issue Open
Edge is finicky about combined selectors when it does not support one of them. issue thinking maybe it has to do with this: https://medium.com/@jonathanabrams/be-wary-of-the-css-comma-selector-and-pseudo-classes-688c02320e7f Open
Imported partials without underscore don't get picked up after compilation issue This only affects dev workflow; has workaround (see https://github.com/Esri/calcite-app-components/issues/191) Open
Rendered order is incorrect if the DOM and @State arrays are both manipulated. Issue If using sortable to manage dom order, and the state order is updated and a re-render is triggered, the re-render flips the order back to original order instead of re-rendering the order correctly. Open

Closed

Summary Github ZenDesk Description Status Priority
Interpolated values in siblings affecting render updates issue There is a weird case where siblings with interpolated values will not update the DOM properly Fixed
Jest Setup Script causing test errors. issue setupTestFrameworkScriptFile, setupFilesAfterEnv Jest updated - Retest
page.setContent didn't respect second argument issue Stencil custom e2e API different than Puppeteer API Fixed - retest
auto-docs don't parse variables issue Default values point to a variable and not to the value Closed - marked as by design
Duplicate TS helpers are generated in bundles issue Open
Allow defining ShadowDOM properties #1623 #1008 #27259 We need the ability to set delegatesFocus on the shadow dom of our components. Wont fix until more support
Headed mode erroring issue Fixed - retest
getProperty('children') not working in E2E tests issue element.children should contain an elements light dom but is empty/null Won't fix
KeyboardEvent#key not normalized in IE & Edge (<76) issue Some key values are different in these browsers (see https://github.com/shvaikalesh/shim-keyboard-event-key) Won't fix
Edge sibling slots rendering issues issue Default slot with fallback content not rendered if sibling named slot has content Fixed
Edge WC Polyfill not working #1686 #27237 In Edge, updates to the light dom via JS doesn't properly trigger a new flattened dom rendering. Fixed
Safari crossorigin attribute #1140 #27257 Stencil: Script files not loading in Safari due to crossorigin attribute. Fixed
IE11 - Error when using CSS Variable #2076 #27396 Error when using CSS Variable inside the :host pseudo-selector. Fixed
Build fails if assetsDirs has a variable issue Applies to all component metadata, workaround is to use actual value Wontfix