Closed
Description
Description
When opening the select component using the opened
property or attribute, the dropdown opens and immediately closes:
Screen.Recording.2024-12-25.at.10.37.09.mov
Expected outcome
It should be possible to control the select's opened state with the opened
property or attribute.
Minimal reproducible example
<script type="module">
import '@vaadin/select';
</script>
<vaadin-select></vaadin-select>
<script>
const select = document.querySelector('vaadin-select');
select.items = [
{ label: 'Option 1', value: 'option-1' },
{ label: 'Option 2', value: 'option-2' },
];
select.opened = true;
</script>
Environment
Vaadin version(s): 24.7 and earlier
OS: Mac OS
Browsers
Issue is not browser related