Skip to content

Conversation

@sean-perkins
Copy link
Contributor

@sean-perkins sean-perkins commented Sep 28, 2023

Issue number: Resolves #25444


What is the current behavior?

In the custom elements build, currently used by React and Vue packages, the range knob can be rendered incorrectly if the value is assigned after the connectedCallback but before the initial render of the component. This is most apparent with the dual knobs implementation in React (referenced issue).

This results in the range's value being correct, but the visual representation of the range to be incorrect.

This also causes issues with the custom elements build in the standalone implementation of Ionic's components in Angular. If a range is presented in a modal via a controller, the range will never render with the value that is initially assigned to it.

What is the new behavior?

  • Updates the range knob positioning when the range has initially rendered.

Does this introduce a breaking change?

  • Yes
  • No

Other information

This change needs to be pulled into the Ionic angular standalone work.

Dev-build: 7.4.3-dev.11695926109.13b1266a

@github-actions github-actions bot added the package: core @ionic/core package label Sep 28, 2023
@sean-perkins sean-perkins marked this pull request as ready for review September 28, 2023 19:12
@sean-perkins sean-perkins requested review from a team and liamdebeasi and removed request for a team September 28, 2023 19:13
@sean-perkins sean-perkins added this pull request to the merge queue Sep 28, 2023
Merged via the queue into main with commit ac2c8e6 Sep 28, 2023
@sean-perkins sean-perkins deleted the sp/FW-1675 branch September 28, 2023 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

2 participants