I’m getting redirected to my “index” route.
But i really need to stay on the “list” route, because otherwise the user loses the scrolling through the list of items and has to begin on top if again visiting the “list” route.
Is there a way to close a Modal() without getting redirected to the index route?
Hey @ageibert. I’m not sure why you’d be redirected in this case. Can you share what your markup looks like? Are you possibly using an anchor tag for these functions? Maybe try a button in that case.
Hi Max,
i removed the “href” attribute, but it redirected me back to the index again.
Now i substituted the “a tag” with a “div” and everything works fine.
Except the small arrow on the right side “>”, which i automatically established if one uses an “a tag”, isn’t shown anymore, but this is not so important