Repository navigation
fix(ios): revert regression from PR #10096 - #10120
Conversation
#10096 The changes in `ui/page/index.ios.ts` where not meant to be there.
☁️ Nx Cloud ReportCI is running/has finished running commands for commit ccfa6ed. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
|
A test failed in the original PR (#10096), as well as here: Test: TAB-VIEW-ROOT.test_offset_zero_should_raise_same_events FAILED: At /0/2
actual: 'Tab0 Frame0 Page0 navigatingTo' and
expected: 'Tab0 Frame0 Page0 loaded' differ.
Looking at the test, these are not a sequence, but actual events - so just probably need to change the assertions. |
|
@rigor789 the change in frame should NOT be reverted! I need to fox this |
without duplicating `Page` events I added a comment because i think this would require a refactoring
|
@rigor789 @NathanWalker i fixed this correctly now by only adding the notify of the event for the Frame. I also added navigation tests back (only some as others were failing) and added tests for the Frame events |
|
nicely done @farfromrefug thank you! |
#10096
The changes in
ui/page/index.ios.tswhere not meant to be there. And it broke back navigation event 6148955#commitcomment-92040756For reference there is a github mystery here
https://github.com/NativeScript/NativeScript/blame/c957b487a8d98e529df5432aed5b7126a83a6020/packages/core/ui/page/index.ios.ts
https://github.com/akylas/NativeScript/blame/main/packages/core/ui/page/index.ios.ts
Both blames say the part (around line 127) date from before the core refactoring but with a different code :s
I am sorry about this i am baffled by this...
and thanks to @tombien for discovering this!
PR Checklist
What is the current behavior?
What is the new behavior?
Fixes/Implements/Closes #[Issue Number].