Skip to content
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

Bug: Drawer: Kann nicht unmittelbar gerendered und geöffnet werden #7165

Closed
sdvg opened this issue Dec 6, 2024 · 0 comments · Fixed by #7267
Closed

Bug: Drawer: Kann nicht unmittelbar gerendered und geöffnet werden #7165

sdvg opened this issue Dec 6, 2024 · 0 comments · Fixed by #7267
Assignees

Comments

@sdvg
Copy link
Member

sdvg commented Dec 6, 2024

Ein "controlled" Drawer kann nicht wie folgt gerendered werden, wie man es erwarten würde:

<kol-drawer _label="Drawer rendered immediately" _open>
  Drawer content
</KolDrawer>

Stattdessen muss immer erst einmal gerendered werden und dann erst kann die _open-Property auf true gesetzt werden.

Reproduktionsbeispiel: https://stackblitz.com/edit/vitejs-vite-a6us3m?file=src%2FApp.tsx
Erwartet: Ein Drawer wird sofort initial geöffnet.
Tatsächlich: Ein Drawer wird nur auf Klick geöffnet.

@deleonio deleonio moved this to 🗂️ Backlog in KoliBri Board Dec 6, 2024
@sdvg sdvg self-assigned this Jan 22, 2025
@sdvg sdvg moved this from 🗂️ Backlog to 🏗 In progress in KoliBri Board Jan 22, 2025
@sdvg sdvg linked a pull request Jan 22, 2025 that will close this issue
5 tasks
@sdvg sdvg moved this from 🏗 In progress to 🔍 Review in KoliBri Board Jan 22, 2025
@github-project-automation github-project-automation bot moved this from 🔍 Review to ✅ Done in KoliBri Board Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant