-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Opt-in to not store some selected state when using persistence #535
Comments
I am compiling like this (for web): cargo build --release --features=persistence -p ${CRATE_NAME} --lib --target=wasm32-unknown-unknown i.e. using the persistence feature, which apparently causes this. Without persistence the default_height is respected. |
This might be the same issue as #498, or at least related. I have some technical info and a description for a patch within that ticket. @mankinskin Can you try it out on your end and see if that fixes this issue? |
It does change something, but this issue is something different. I think the issue here is that the size is stored in persistent storage, and preferred over the For the other issue, I noticed the same thing, and your patch seems to fix it. It is just a question what that second branch was for, and if removing it would break anything. |
this is basically the same setup as in the demo app, but the window seems to follow only the size of its contents, expanding off screen for long texts. Am I missing something or did
Window::default_height
break in a recent patch?The text was updated successfully, but these errors were encountered: