github-pages-directory-listing icon indicating copy to clipboard operation
github-pages-directory-listing copied to clipboard

Flashing when opened using Rocket Loader

Open ShadowGaming100 opened this issue 1 year ago • 5 comments

When i enable Cloudflare rocket loader the website flashes, but when disabled it works normal

ShadowGaming100 avatar Nov 09 '24 14:11 ShadowGaming100

is because of tailwindcss You can tell Rocket Loader to ignore the Tailwind script by adding data-cfasync="false" to the script tag. This should prevent Rocket Loader from modifying or delaying its loading:

ShadowGaming100 avatar Nov 09 '24 14:11 ShadowGaming100

@ShadowGaming100

Is this still required? Does it still flash when using Rocket Loader?

jayanta525 avatar Feb 20 '25 17:02 jayanta525

@ShadowGaming100

Is this still required? Does it still flash when using Rocket Loader?

yes it still does i had to modify the code to fix this

ShadowGaming100 avatar Feb 20 '25 21:02 ShadowGaming100

@jayanta525 is it ok if i clone this repo and make some changes for personal use

ShadowGaming100 avatar Mar 01 '25 12:03 ShadowGaming100

@jayanta525 is it ok if i clone this repo and make some changes for personal use

Yes, sure you can. You can as well send a PR to this repo.

jayanta525 avatar Mar 05 '25 20:03 jayanta525