primefaces / community

Community Forum
0 stars 0 forks source link

Issue with dropdown in dataTable #1975

Open Sladafolw opened 4 months ago

Sladafolw commented 4 months ago

Discussed in https://github.com/orgs/primefaces/discussions/1974

Originally posted by **Sladafolw** May 20, 2024 Hello, I am experiencing an issue with the DataTable component in PrimeVue. I have a DataTable with selectionMode set to “single” and editMode set to “row”. In one of the columns, I am using a Dropdown component inside a template with the #editor directive. The problem arises when I try to select(if the window is small) an option from the Dropdown in edit mode. If the DataTable has a scrollbar, the entire table scrolls unexpectedly when I click on the Dropdown. This makes it difficult to select an option as the Dropdown and the whole row seem to jump around. "primevue": "^3.49.1", "vue": "^3.4.21", ![Снимок экрана 2024-05-20 171418](https://github.com/primefaces/community/assets/109578734/5d373863-ef79-4256-9466-9ab7dc87990f) ``` ```