Weird issue triggering row actions one after the other
Hi, I've ran into a weird issue while using custom row actions in a relation manager table.
I have attached a video showing the problem but I will also try to explain it here.
The action is a simple thing, it checks a row column for a value of a link and it returns the file as a download. First row action you click everything is fine. Second action you click for some reason a popup confirmation appears even though the action does not have requiresConfirmation and if you click the confirmation button the same link as the first row action you click is actually returned. It doesn't seem to be updated to the row I actually clicked. This happens to all the other rows I click after the first one. The only way to make it work is refresh the page after click the action.
Video: https://share.cleanshot.com/XG8B9KpS
1 Reply
Action code:
I think the main reason is that I redirect the page to a url and the table doesn't get updated. I may have hit a fringe use case for this and not sure if it's classified as a bug.
I've managed to fix this by using a combination of url() and action() on the action