telekom / scale

Scale is the digital design system for Telekom products and experiences.
https://telekom.github.io/scale/
Other
362 stars 79 forks source link

Scale "Dropdown" component used with React causes system crashes #508

Closed UBOrange closed 2 years ago

UBOrange commented 2 years ago

We are using the Scale "Dropdown" component on a web page that also contains a polling mechanism for retrieving update information from the back end. This crashes the system when using the "Dropdown". As a work around with each polling cycle we re-render the "Dropdown". Doing so, from the user's perspective the "Dropdown" closes automatically with each polling cycle (mostly before he was able to select the right item - thus, from the user's perspective an unacceptable situation).

The issue has been discussed with Scale experts on Aug 5. Next step: Update Scale to the latest stencilJS version. If this would not solve the problem, re-factor the "Dropdown" component with a different implementation strategy.

acstll commented 2 years ago

Thank you @UBOrange

Yes, this is true. The issue with the Dropdown in React in known.

We'll post any update here, next week already.

acstll commented 2 years ago

@UBOrange unfortunately a Stencil upgrade does not fix the issue.

We're already discussing how to approach a refactor. 💪

acstll commented 2 years ago

@UBOrange I've sent an email with an update :)

acstll commented 2 years ago

Hopefully this is solved. We have a new idea for an "easy" refactor. We'll re-open when we're at it.