Comments (7)
@falkoschindler, @me21 seems to work. I'll run with this branch to make sure there aren't any major problems or weird bugs that i haven't seen yet.
pip install git+https://github.com/zauberzeug/nicegui@refs/pull/2867/head
from nicegui.
Sure. It is included in 1.4.24, right?
from nicegui.
Hi @me21, this reminds me of #2482. Could this be the same issue?
from nicegui.
@falkoschindler it's possible. The login page in the example is wrapped into @ui.page('/login')
decorator.
from nicegui.
I'm in the same boat here. I'm wrapping the pages within a fastapi app and am noticing the same behavior where refreshes can solve the problem with every other refresh solving the problem. I checked the process handles and they are constant regardless of performance, so it's not spinning up any extra handles or dropping any handles there.
I have a resize function tied to an aggrid inside the @ui.page('/'), but when i attach a timer to it, i'm not seeing a refresh rate above what you would expect, so the ui.on('resize') at least is registering events correctly. So i'm guessing there's a function in the routing that isn't being handled correctly.
I have mine set up within a fastapi app and that index page is mapped with an async.
@ui.page('/')
async def index_page(...) -> None:
I thought it might have been in the wrapper, but if it was a miscode then the functionality would remain regardless of refreshes. removing the async from the page def doesn't solve the problem either.
Windows 10
python 3.9.18150.1013
NIceGUI 1.4.20.dev0
from nicegui.
@me21, @vickorian We're working on a fix for #2482, see PR #2867.
Maybe you can try it out and let us know if it resolves this issue as well?
from nicegui.
I'll close this issue, assuming it has been fixed with #2482 and PR #2867.
from nicegui.
Related Issues (20)
- Change to MS-Windows style windows is not possible? HOT 2
- 2-way bindings backward direction does not work anymore HOT 1
- Not able to clear input anymore HOT 1
- Accessibility issue with hidden connection warning HOT 3
- Autocomplete for `ui.input` not working on mobile HOT 1
- Need Assistance Calling the Search Filter Function Inside the Search Template in NiceGUI Table
- NiceGUI uses 100% of a CPU core when running inside a container HOT 1
- [Pycharm Problem] Raise asyncio error when reload HOT 1
- local_file_picker Example error in version 1.4.25: HOT 5
- custom vue.js component not updated after modification HOT 3
- non-existing on_pointer parameter in InteractiveImage HOT 1
- `ui.chip` textcolor stays black on dark background HOT 2
- Bump plotly.js to 2.32.0 version supporting zindex HOT 1
- Lifespan state is not passed when a FastAPI app mount a Nicegui app HOT 3
- plotly is missing from docker image HOT 2
- How to get the value of a cell slot within a table?
- how can nicegui upload all files and subdirectory in an directory?
- auto-reload make pyinstaller build failed HOT 2
- `ui.codemirror` does not work via NiceGUI On Air
- Audio with hashtags in filenames are not loaded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nicegui.