Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secondary backdrop without Flash #1

Open
feifyKike opened this issue Aug 18, 2023 · 0 comments
Open

Secondary backdrop without Flash #1

feifyKike opened this issue Aug 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@feifyKike
Copy link
Owner

Objective

Create an option to enabled to a secondary background color that would be visible only on over-scroll and vertical scroll bounce. Also would color the top and bottom margins in mobile.

Technical issue

onMounted(() => {
  document.body.style.backgroundColor = "#hex"
})

May seem like the simplest solution, however, on anchor tag navigations and initial loads would flash with the "#hex" color.
Need a way to circumvent this.

@feifyKike feifyKike added the enhancement New feature or request label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant