Comments (10)
Hey @xlbs-rm 👋,
Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider backing us.
https://opencollective.com/reactiveui
PS.: We offer
priority
support for all backers. Don't forget to addpriority
label when you start backing us 😄
An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms!
from sextant.
This sounds like an issue with the 2.0 release, and should be resolved when it ships. I am trying to test out a few examples. The sample that works in this repository is fine. Also, Sextant doesn't currently support Xamarin.Forms 4.1 so I'm sure that's not helping.
Closing this issue, as 1.7.4 is a prerelease package that is older and we are working out issues for the 2.0 release in our pre-release packages. Most recent packages on the feed is 1.7.14
from sextant.
@RLittlesII : the issue still appears also in Sextant 1.7.14. @see: https://github.com/xlbs-rm/TabbedPageSextantSample
The Error also occures with XamarinForms 4.0.* (tested with: 4.0.0.540366)
Exception:
{System.InvalidOperationException: Page must not already have a parent. at Xamarin.Forms.Internals.NavigationProxy.PushModalAsync (Xamarin.Forms.Page modal, System.Boolean animated) [0x00008] in D:\a\1\s\Xamarin.Forms.Core\NavigationProxy.cs:128 at Xamarin.Forms.Internals.NavigationProxy.PushModalAsync (Xamarin.Forms.Page modal) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\NavigationProxy.cs:122 at Sextant.XamForms.NavigationView+<>c__DisplayClass12_0.<PushModal>b__1 (Xamarin.Forms.NavigationPage page) [0x0000b] in <f2fe864f19f64c6d84ecab60457c578a>:0 at System.Reactive.Linq.ObservableImpl.SelectMany 2+ObservableSelector+_[TSource,TResult].OnNext (TSource value) [0x00002] in <269857168607470d991a5a72ee3bb154>:0 } base: {System.SystemException}
Sample to how to use Tabbed Page with Sextant in a optimised way - xlbs-rm/TabbedPageSextantSample
from sextant.
Hey there, unfortunately this is very much still in development so it comes as is. The latest supported release is 1.5.5 which is the latest listed here https://www.nuget.org/packages/Sextant/
Package Description
from sextant.
Thanks for the bug report anyway, will keep an eye out for it before the 2.0 release.
from sextant.
And downgrading Xamarin.Forms to 3.6 doesn't resolve the issue?
Again. Sextant does not currently support Xamarin.Forms 4.0
The error I see points to it being in Xamarin.Forms.Core
from sextant.
@RLittlesII
The Issue also occurs with the combination of:
Xamarin.Forms 3.6.* (3.6.0.53...)
Sextant.XamForms 1.7.14
ReactiveUI.XamForms 9.18.2
I don't see the error in Xamarin.Forms.Core due regular apps with push modal work quite fine.
As i wrote in the beginning the issue did not happen in Sextant 1.7.3 (using IPageViewModel instead IViewModel and RegisterNavigation instead RegisterNavigationView)
Thanks for re-opening the issue. As long as this is not fixed we stop using navigation parameters.
from sextant.
@xlbs-rm I was able to reproduce this with the sample in this repository. I'm not quite sure how this ever worked. The offensive line of code seems to have been in the repository for a while, but I feel like this used to work.
Regardless, thank you for reporting this issue. Apologies for closing it initially, I didn't realize it wasn't a regression issue at first.
from sextant.
Thanks a lot for resolving this issue quickly!
from sextant.
We are trying to ship 2.0. Anything that doesn't work that should is better fixed now.
from sextant.
Related Issues (20)
- [BUG] Sextant sample navigation crashes with Android.Util.AndroidRuntimeException: 'Animators may only be run on Looper threads' HOT 8
- [BUG] PopRootAndTick in ViewStackServiceBase leaves behind the wrong viewmodel HOT 9
- [BUG] navigationService.PopPage does not trigger WhenNavigatedTo HOT 5
- feature: Provide a destruction hook for when the VM/view is going to be popped HOT 2
- [BUG] Can't build UWP HOT 13
- feature: Provide a way to detect when navigation to a view-model is completed, even if no navigation-parameter is being passed HOT 4
- feature: Provide an initialization hook for when the VM/view is going to be added to the stack/pushed HOT 1
- [BUG] Allow ViewModelFactory to resolve Views with contracts HOT 4
- [BUG] WhenNavigatedFrom not being called HOT 2
- feature: Consolidate Extension Methods for Navigation Registration HOT 5
- Apps With a Splash Page? HOT 6
- feature: Add support for Avalonia HOT 3
- [BUG] When calling Locator.CurrentMutable.RegisterNotificationView get exception HOT 7
- [BUG] PushModal does not allways show View HOT 6
- feature: help with winui 3 support HOT 3
- Dependency Dashboard
- [Bug]: IParameterViewStackService - InvalidOperationException: IView not registered HOT 2
- [Bug]: PushModal results in crash: Cannot set 'scaleX' to Infinity
- Yes HOT 1
- Use framework dependency rather than explicit HOT 2
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 sextant.