Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: teleport CRUD form to overlay if some buttons are not set #8372

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

web-padawan
Copy link
Member

Description

Fixes vaadin/flow-components#6965

Updated the check before moving child nodes to allow teleporting header and form if some of buttons is not set.
This covers the case with _noDefaultButtons (used by Flow counterpart) when using setVisible(false) which not only sets hidden attribute on the corresponding button, but also disallows setting proper slot attribute on it.

Type of change

  • Bugfix

@web-padawan web-padawan merged commit 3ee7650 into main Dec 19, 2024
9 checks passed
@web-padawan web-padawan deleted the fix/crud-teleport-without-buttons branch December 19, 2024 15:34
web-padawan added a commit that referenced this pull request Dec 20, 2024
#8382)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[crud] Calling setVisible(false) on Delete, Cancel or Confirm button breaks teleporting
3 participants