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]: Editable not submitted inside Dialog #1603

Open
Ericlm opened this issue Feb 3, 2025 · 2 comments
Open

[Bug]: Editable not submitted inside Dialog #1603

Ericlm opened this issue Feb 3, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Ericlm
Copy link

Ericlm commented Feb 3, 2025

Environment

Developement OS: macOS 15.2 (24C101)
Node version: 23.5.0
Package manager: [email protected]
Radix Vue version: ^1.9.13
Vue version: ^3.5.13
CSS framework: tailwindcss@^4.0.3

Link to minimal reproduction

https://github.com/Ericlm/radix-editable-dialog

Steps to reproduce

  1. Creating a Dialog with a Dialog.Content
  2. Inside of this Dialog, adding an Editable

Describe the bug

The submit event of the Editable doesn't work unless using the explicit SubmitTrigger button. Pressing the enter key or blur the input doesn't trigger any submit event (whatever the submit-mode is).

This bug only occurs when the Editable is placed inside a Dialog component.

Expected behavior

The EditableRoot should trigger submit.

Context & Screenshots (if applicable)

No response

@Ericlm Ericlm added the bug Something isn't working label Feb 3, 2025
@zernonia
Copy link
Member

zernonia commented Feb 4, 2025

Hi @Ericlm .. I cant access to the repo above. Perhaps try to use stackblitz for reproduction?

@Ericlm
Copy link
Author

Ericlm commented Feb 4, 2025

It was private, sorry 🤦 I made it public @zernonia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants