Comments (9)
Thanks for reporting the issue. How do you specify the animation exactly? Can show some code? In the sample you are using noAnimation
.
from decompose.
Yeah I specifically set it to noAnimation
. The bug is reproducible with this. Seems like as long as StackAnimator
is set, the bug can be reproduced - the animation itself does not matter.
from decompose.
To reproduce the bug you might need to tap restart about like 5-10 times. If it does not happen then maybe tweak the first value by increasing it a bit
from decompose.
Thanks! Is it also reproducible if you specify the animation as follows?
selector = { noAnimation() },
Instead of
selector = { _, _, _ -> noAnimation() },
from decompose.
Oh interesting. If I do
animation = stackAnimation(
disableInputDuringAnimation = true,
animator = noAnimation(),
),
Then I cannot reproduce
from decompose.
Thanks for confirming! There are three overloads of the stackAnimation
animation function. The one with selector = { child, otherChild, direction -> ... }
is annotated with @FaultyDecomposeApi
for a reason. Please see the docs for that overload.
I think it's yet another bug in Compose movableContent
function. There were few other bugs with movableContent
in the past, but they all were fixed. Could you please also try updating or downgrading the version of Compose and see if it changes anything? If it's not yet fixed in a newer Compose version, then we should create a reproducer with movableContentOf
but without Decompose (should be pretty easy to do), and report it here. I might help with the reproducer, let me know.
from decompose.
Ah ok cool I might be able to update our code to not use that MovableStackAnimation
. Although we do rely on Direction
. I will try to create a reproduced without decompose. Will ping you if I need help with that. Thanks a lot!
from decompose.
Thank you!
from decompose.
I have extracted a reproducer without Decompose and filed b/327814644. Closing this issue for now. Thanks again!
from decompose.
Related Issues (20)
- KMP project stopped building for iOS with wasm supported decompose HOT 5
- crash: on 3.0.0-alpha07 java.lang.NoSuchMethodError HOT 4
- Expose more parameters for predictive back animations HOT 1
- Document compose BackHandler <> decompose backHandler <> predictive back interaction HOT 1
- Expand the documentation on why do we need components HOT 1
- `LifecycleController` does not consider `resume`/`pause` events. HOT 1
- Consider adding an overload of `predictiveBackAnimation` that has a selector lambda for **both** animation and fallback animation HOT 1
- Describe creating custom navigation models in the docs HOT 1
- How to use StateValue in SwiftUI Textfield HOT 2
- When the app is closed then the subscribeAsState() doesn't work HOT 12
- Print configurations when the uniqueness violation is detected HOT 1
- Accessing ViewModel inside component {Question}
- Где посмотреть на реализацию CustomNavigationComponentChildren HOT 1
- Consider adding some sort of integration to allow easier use of shared element transitions between screens. HOT 7
- Import and open sample project HOT 4
- Can not find the version for installation?
- Support new Compose Multiplatform Lifecycle (and maybe ViewModel) HOT 2
- Update samples and templates HOT 1
- Helpful tip for childSlot HOT 6
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 decompose.