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

fix(ios-angular): Topmost deprecation and not rendering on top of modal #68

Closed
wants to merge 6 commits into from

Conversation

bbroereES
Copy link

PR Checklist

What is the current behavior?

iOS gives a warning about deprecation of topmost() and does not render the datetimepicker on top of a modal in Angular.

What is the new behavior?

iOS gives no warning about deprecation of topmost() and does render the datetimepicker on top of a modal in Angular.

Fixes/Implements/Closes #60.

@cla-bot
Copy link

cla-bot bot commented Jun 16, 2020

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla.
CLA has not been signed by users: @bbroereES.
After signing the CLA, you can ask me to recheck this PR by posting @cla-bot check as a comment to the PR.

@bbroereES
Copy link
Author

@cla-bot check

@cla-bot cla-bot bot added the cla: yes label Jun 16, 2020
@cla-bot
Copy link

cla-bot bot commented Jun 16, 2020

The cla-bot has been summoned, and re-checked this pull request!

@NathanWalker
Copy link
Contributor

Thanks @bbroereES !

@jscti
Copy link

jscti commented Aug 31, 2020

@NathanWalker Could this be merged ?

@lochstar
Copy link

I also need this.

@NathanWalker
Copy link
Contributor

@lochstar and @jscti forgive us for the delay. I went ahead and integrated your fix on this PR just to avoid further delay:
https://github.com/NativeScript/plugins/pull/10/files#diff-aad3f150e3a162d27727560b5fa63351R146

That included some formatting to match the style in the workspace but highlighted the diff which contains your change there.
Frame.topmost() adjustment was already in there with the {N} 7 updates.

Published in 2.0.2 now.

In future you can PR any changes to the plugin workspace where we manage all @NativeScript scope packages:
https://github.com/NativeScript/plugins

@jscti
Copy link

jscti commented Sep 18, 2020

@NathanWalker
Thanks ;)

But I don't get quite how to use it ?
Since then I used "tns plugin add nativescript-datetimepicker" (last version : 1.2.2)
Now should I use "tns plugin add @nativescript/datetimepicker" (last version today 2.0.2) ? But there is no "NativeScriptDateTimePickerModule" to import

tldr: how to use your fix by "tns plugin add" it ?

edit: Well, I found the proper import :
import { NativeScriptDateTimePickerModule } from '@nativescript/datetimepicker/angular';
But it's leading to a "Error: No NgModule metadata found for 'undefined'." ...
I'm still on NS6.X
edit2: well new repo is only for NS7 ...

@jscti
Copy link

jscti commented Sep 21, 2020

@NathanWalker Isn't it possible to merge this PR in this repo as well for NS6 ?

I can't upgrade to NS7 (too much plugins are dead ... ) and I'm struggling forking/building/tns adding this one PR to make it work ... It's a real pain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Datepicker not showing inside a secondary modal
4 participants