Code Monkey home page Code Monkey logo

Comments (5)

falkoschindler avatar falkoschindler commented on June 11, 2024 1

Thanks for the update, @kleynjan!
Unfortunately, I still can't reproduce the issue on my two-monitor setup. Let's close this issue. Even though it would be nice to fix this bug, it's just an example and not necessarily ready for production.

from nicegui.

falkoschindler avatar falkoschindler commented on June 11, 2024

Hi @kleynjan, strangely I can't reproduce this issue. I even upgraded to a more recent MacOS version to get the latest Safari 17.2.1. Which version do you use? Does the problem occur with a particularly large or small window?

Or can you explain, why you're code should be better? Does any attribute like pageYOffset, offsetHeight or innerHeight have bad compatibility with certain browsers?

from nicegui.

kleynjan avatar kleynjan commented on June 11, 2024

Hi Falko, I am on Monterey 12.7.2 with Safari 17.2.1. See screenshot below that shows the "end state" (note the scoll bar) with the console logging the values for window.pageYOffset, document.body.offsetHeight and window.innerHeight. Problem occurs at every window size.

But you are right that the problem does not occur on Ventura! Feel free to close the issue.

screenshot

from nicegui.

kleynjan avatar kleynjan commented on June 11, 2024

Full disclosure, I just upgraded as well. When the issue surfaced yesterday I was on a previous Monterey version (12.7.1) and using Safari 16.X . But it's still there on 12.7.2 and 17.2.1.

from nicegui.

kleynjan avatar kleynjan commented on June 11, 2024

Upgraded to Ventura 13.6.3 and Safari 17.2.1 and the issue is still there with the current infinite-scroll example. BUT: only on my two-monitor MacMini setup. (Same behaviour on both monitors, both using default resolution). My Macbook running the same versions is OK.

@falkoschindler, I leave it up to you if you want to close the issue.

Cheers, Peter

Screenshot 2024-01-05 at 09 26 38

Console showing values for window.pageYOffset, document.body.offsetHeight and window.innerHeight at stable endpoint.

from nicegui.

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.