Is there a difference between `data-turbo-frame="_top` and`target="_top"` when breaking out of a frame

@ibrahima Ibrahim Awwal
Wed, 27 Aug 2025 00:17:29 +0000

Hi! I think typically the purpose would be that you have different types of links inside the frame, some of which should keep you in the frame and some of which should break out. For example, navigation between different instances of the same model might keep you in the frame if there’s shared content outside of the frame, whereas navigation to a completely different thing might break you out.