You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When replaying an event in the dashboard/streamers route, the replayed event is added to the top of the list as it is now the most recent event. If you have an item below expanded, when the list is populated with the new event the item that is expanded is a different item.
To Reproduce
Steps to reproduce the behavior:
Go to 'dashboard/streamers'
Click on 'an event under Websocket Stream to expand it'
Click the 'Replay' button
When the list is refreshed notice that a different item in the list is expanded.
Expected behavior
The item that was expanded remains in the expanded state
Screenshots
N/A
Deployment:
Deployment is via railway.
The version is the latest version on main as of Apr 27, 2022.
Additional context
Nope
The text was updated successfully, but these errors were encountered:
Theory: Without looking at the code, it appears that the items that are expanded are being tracked based upon an index in an array, and when there is a new item added to the start of the array it now points at the wrong item in the array.
I did a little digging and this issue is due to a bug in the PrimeVUE Accordion component when you use :multiple="true" with dynamic tabs. I have opened a bug report with them to fix: primefaces/primevue#2524
Only way for you to fix it for time being would be to manually override with @click actions and manage the active indexes by yourself.
Describe the bug
When replaying an event in the
dashboard/streamers
route, the replayed event is added to the top of the list as it is now the most recent event. If you have an item below expanded, when the list is populated with the new event the item that is expanded is a different item.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The item that was expanded remains in the expanded state
Screenshots
N/A
Deployment:
Deployment is via railway.
The version is the latest version on
main
as of Apr 27, 2022.Additional context
Nope
The text was updated successfully, but these errors were encountered: