Comments (3)
it would be super cool to have IOS-like back animations
I know it's not the same, but sliding animations might be easily implemented like:
val animationSpec = tween<IntOffset>(700)
NavHost(
navController = navController,
startDestination = startDestination,
enterTransition = { slideIntoContainer(SlideDirection.Left, animationSpec) },
exitTransition = { slideOutOfContainer(SlideDirection.Left, animationSpec) },
popEnterTransition = { slideIntoContainer(SlideDirection.Right, animationSpec) },
popExitTransition = { slideOutOfContainer(SlideDirection.Right, animationSpec) }
) { ... }
We might tune default behaviour in the future, but don't expect it in first versions.
Our general vision here is that should be possible to implement this via only public API, so everyone might customize it for their specific needs
predictive back gesture
It on our radar too, no promises about ETA yet
from compose-multiplatform.
JetBrains started to publish dev builds of a multiplatform version of this package, but there is no stable version yet.
Usage example: https://github.com/MatkovIvan/nav_cupcake
Tracking of adding multiplatform support was there: #85 (comment)
from compose-multiplatform.
@MatkovIvan Does navigation-compose already support kmp?
from compose-multiplatform.
Related Issues (20)
- Confusion in reading PNG image from composeResources/files/assets/ in v1.6.0 HOT 1
- "Unresolved reference: let" since Compose Multiplatform 1.6.1 on Android Studio HOT 2
- Gradle task build (allTests) fails on default web project generated by kmp.jetbrains.com HOT 3
- Cannot change dependencies of dependency configuration 'X' after it has been included in dependency resolution HOT 2
- DateRangePicker ignore first click HOT 1
- [iOS] Using Compose inside a ShareExtensionViewController renders it black HOT 4
- Cursor position is displayed on the left edge when textAlign is set to center in BasicTextField HOT 1
- Pressing the return key in TextField triggers the parent container's clickable HOT 3
- Support `commonResources` to `R`/`Icon` HOT 1
- Tray menus not working on Fedora HOT 2
- Cannot implement OnDestinationChangedListener in multiplatform navigation HOT 2
- [webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. HOT 2
- ios WindowInsets.ime.getBottom return random LAST value when keyboard hide event
- `meta name="viewport"` not working properly on mobile browsers HOT 3
- Hotkeys when typing Korean in a TextField in macOs on Desktop Issue HOT 2
- :packageDeb or :packageReleaseDeb fails at jpackage task HOT 2
- Add SVG support for arbitrary data sources HOT 1
- When I run it on MacOS, I use the Chinese input method to stay on the candidate word interface, and then click another TextField with the mouse, the APP crashes directly. HOT 2
- Memory usage increases exponentially with each opening of `ModalBottomSheet` on `iOS` HOT 3
- org.jetbrains.skiko.SystemThemeHelper.getCurrentSystemTheme() crash HOT 1
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 compose-multiplatform.