Skip to content
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

ios Right slip closing failure #18

Closed
948911908 opened this issue Mar 2, 2020 · 9 comments
Closed

ios Right slip closing failure #18

948911908 opened this issue Mar 2, 2020 · 9 comments

Comments

@948911908
Copy link

After this is used in IOS, the right sliding close fails

@jonataslaw
Copy link
Owner

After this is used in IOS, the right sliding close fails

Without more details it will not be possible to solve your problem.
In what situations have you experienced failure?
Using named routes? Using normal routes? Could you provide a minimal example of reproducing the problem?

@948911908
Copy link
Author

This is how I use it @jonataslaw
WeChatb3047f190d164a159f9dd2c3e1f53fb7
WeChat71c43c84a067fd913ac18e06de496ad0

@948911908
Copy link
Author

Get.to(_getPage(name, params), transition: Transition.rightToLeft);

MaterialApp(
navigatorKey: Get.key,
theme: ThemeData(
appBarTheme: AppBarTheme(
color: Color.fromRGBO(44, 173, 215, 1),
),
platform: TargetPlatform.iOS,
),
home: Container(
child: Scaffold(
resizeToAvoidBottomPadding: false,
body: MainWidget()
)
)
);

@jonataslaw
Copy link
Owner

I still don't quite understand your code. Are you using named routes? What would the _getPage() method be?
Anyway, I did an update yesterday adding improvements to the cupertino on an experimental basis, if you want to test it, you can use GetCupertino instead of GetRoute, or just use Get.to (Screen()) for it, which it will automatically use GetCupertino and animation left to right if the device is iOS.

@948911908
Copy link
Author

I'm not using a named route
this is _getPage() code
image

@948911908
Copy link
Author

@jonataslaw

@948911908
Copy link
Author

I reported an error after updating
image

@948911908
Copy link
Author

import 'package:get/src/transitions_type.dart';

I need to import this file to be normal
After updating the new version, IOS can be closed by right sliding

@jonataslaw
Copy link
Owner

import 'package:get/src/transitions_type.dart';

I need to import this file to be normal
After updating the new version, IOS can be closed by right sliding

It's fixed on version 1.11.1
Now you don't need to import any internal files from the library.
Thank you very much for reporting this too!

kamazoun added a commit to kamazoundevz/getx that referenced this issue Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants