Skip to content

DBCustomSelect: crashes Webpage on click outside selectable elements (e.g. infotext) #4080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 7 tasks
annsch opened this issue Apr 17, 2025 · 1 comment
Open
1 of 7 tasks
Labels

Comments

@annsch
Copy link
Contributor

annsch commented Apr 17, 2025

Which generators are impacted?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

when click on invalid error message the whole webpage crashes:

  1. search a string that does not exist in the options list
  2. click on the "no results" text
  3. the whole web page crashes

Image

Expected Behaviour

no crash

Screenshots

No response

Browser version

None

Add any other context about the problem here.

No response

@annsch annsch changed the title DBCustomSelect: crashes Webpage on clich outside selectable elements (e.g. infotext) DBCustomSelect: crashes Webpage on click outside selectable elements (e.g. infotext) Apr 17, 2025
@mfranzke mfranzke added the 👩‍👧‍👦community feedback Feedback from community label Apr 17, 2025
@mfranzke mfranzke moved this to 📋 Backlog in UX Engineering Team Backlog Apr 17, 2025
@mfranzke
Copy link
Collaborator

mfranzke commented Apr 19, 2025

@annsch thanks a lot for your feedback. It doesn't happen on https://design-system.deutschebahn.com/core-web/version/v2.0.2/components/data-input/custom-select/overview?page=show+search – have you tried it in isolation of your current application ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants