Coder Social home page Coder Social logo

Comments (8)

innocenzi avatar innocenzi commented on July 19, 2024

Can you share a repository with the issue?

from inertia-laravel.

JunaidQadirB avatar JunaidQadirB commented on July 19, 2024

I solved the issue with re-configuring my styles and markup but installing bootstrap-vue

from inertia-laravel.

JunaidQadirB avatar JunaidQadirB commented on July 19, 2024

I don't understand. I'm getting this FOUC / jerk again.
But the example project I prepared from my existing project didn't have the issue becuase perhaps it has very little to no content and data coming from the controller

from inertia-laravel.

druc avatar druc commented on July 19, 2024

@JunaidQadirB Maybe it's a weirdly styled nprogress?

from inertia-laravel.

reinink avatar reinink commented on July 19, 2024

This is really weird. I have not seen this before. It's worth noting that when you click on an Inertia link, or make an Inertia visit manually, Inertia will manually reset the scroll position to the top of the page. You can see that here: https://github.com/inertiajs/inertia/blob/472c1d3daa455b67df68aa71b6e2a656724d9652/src/inertia.js#L129-L134

That's the only thing Inertia does though. πŸ€·β€β™‚

from inertia-laravel.

druc avatar druc commented on July 19, 2024

The easiest way to check if that's what is causing the flicker is to tell inertia to preserve the scroll position.

<inertia-link href="/" preserve-scroll>About</inertia-link>

from inertia-laravel.

reinink avatar reinink commented on July 19, 2024

Good call @druc πŸ‘

from inertia-laravel.

reinink avatar reinink commented on July 19, 2024

Closing this, as I don't really think this is related to the Laravel adapter.

from inertia-laravel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.