radix-vue icon indicating copy to clipboard operation
radix-vue copied to clipboard

[Bug]: Combobox using portal Input not clickable/focusable when within a dialog portal

Open timmaier opened this issue 6 months ago • 3 comments

Environment

Node version: 20.15.1
Radix Vue version: 2.9.2
Vue version: 3.2.32

Please see stackblitz

Link to minimal reproduction

https://stackblitz.com/edit/ptivtd?file=src%2FApp.vue

Steps to reproduce

Add a Combobox input that uses ComboboxPortal. Add a ComboboxInput within the ComboboxViewport. Place this component within a Dialog.

Describe the bug

The ComboboxInput is not focusable and cannot accept any keyboard input.

Expected behavior

The ComboboxInput should be focusable and searchable when placed within a Dialog.

Context & Screenshots (if applicable)

Screenshot 2024-07-30 at 11 29 34 AM

timmaier avatar Jul 30 '24 01:07 timmaier