Skip to content

Conversation

@ganchdev
Copy link

This PR resolves #1211

It introduces the ability to opt-out of a progress bar when the turbo refresh method is set to morph in the meta tag

<meta name="turbo-refresh-method" content="morph">.

To opt-out, a new meta tag turbo-refresh-progress-bar should be placed in the <head>.

<head>
  <meta name="turbo-refresh-method" content="morph">
  <meta name="turbo-refresh-progress-bar" content="hide">
</head>

This allows us to control the progress bar visibility without configuring anything within Turbo events. All other app visits would show the progress bar as usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Turbo morph displays progress bar

1 participant