We ran into strange bug on IOS. When using a master navigation page when we 'pop to root' we get stuck at a blank page. By blank page I mean there is no content (just white).
The page that causes this includes a customer full screen video render.
Could that be the cause ? If not, what could be the cause.
Our current work around is to replace the master navigation page completely. (App.MainPage = new...). This works, but causes a noticeable reload of our content which is less than satisfactory.
Related
I am using Xamarin Forms with Master Details Page and TabbedPage. There seems to be a bug that I cannot understand or fix. On the MasterDetail Page, at the bottom quarter of the page, no clickevents are being fired. In other words, that part of the screen seems unclickable. It works fine on Android but on all iOS devices, the bottom quarter of the MasterDetail Page (that is just above the Bottom Tab) seems Unclickable.
I tried removing all content from the page and just add a simple button in that area and that too didn't work. It really seems frustrating.
On simulator as well as real app deployment, it doesn't work.
I have a form that includes a Xamarin.Forms.Maps.Map control. When I push new views onto the stack with await Navigation.PushAsync(page), views that I want to be modal (using await Navigation.PushModalAsync(page)) that I push onto the stack are empty. The animation works fine, but what's animated is just empty (the background is white but with no controls or other UI elements rendered. If I remove the map control from the "root" view, the modal pages are displayed correctly. If I use .PushAsync instead of .PushModalAsync the views are displayed correctly.
I am targeting Android 6 using the Google emulators
I have no idea what's going on.
it looks like we have a bug on the Xamarin Forms ModalNavigation. It was already reported here: https://bugzilla.xamarin.com/show_bug.cgi?id=43692
For now, I'm using this workaround (from Scott Simms): before pushing a any page (in the OnDisappearing()) from a page that contains a MapView, remove the MapView from the Content of current page, and load it again in the OnAppearing();
It works well for next page BUT... if you push a new wrapped ModalPage on this second page, when you pop it, probably it will crash your app too.
It has been bothering me, and I am thinking about implement my own toolbar to make it looks like a Navigation Page and avoid the annoying crashing.
I'm making app with using Xamarin.forms PCL.
I'm using Appcompat toolbar and tabs for Android.
It looks great but the problem is,
When I move to Fourth tab page from first one, It reloads every tabs while it's moving!! (2th, 3rd tab)
It causes big frame skip.
How can make it to slide to fourth tab without showing middle tabs?
I looked Youtube app, it does not seem to show middle tabs while it's moving.
That's native behaviour, it will pre-render nearby tabs; so for your instance, in Tab1, it renders Tab2, and when you go Tab 4, it also renders Tab3.
Similar questions are answered here
Fragment in TabLayout only load when user slide Android
Stop Android TabLayout loading next page automatically
When ever I earn a reputation, firefox understand and refresh my thumbnail. I want to know how it works and when does firefox take website screenshot for its home page?
Is there any meta tag or something like this to force firefox to take screenshot?
When you earn reputation firefox has no idea. The javascript code (that stackoverflow loaded into firefox when you loaded the page) does. If you don't have the page loaded and the javascript code running nothing will ever see the change. Look up AJAX if you want to know more.
You can force the images to update but it involves loading the page.
From https://support.mozilla.org/en-US/kb/thumbnails-on-new-tab-page-are-missing?esab=a&s=new+tab+thumbnails&r=1&as=s
Make Firefox create new images for the new tab page
The images will get re-stored as you use the new tab page to go to
those websites again.
Open the new tab page by clicking the + button on the tab strip.
Click on one of the blank images to go to a website. Note, that it works only for left-click, opening in new tab doesn't do the trick.
This is important - let the website finish loading (wait for the spinning green loading icon in the tab to stop).
Open the new tab page again and you will see a new image for the website you just went to.
Repeat this process for the rest of the missing images.
I have included a draggable div on the website that I am building (visible here: gongle.fr), it is a kind of business card that is present on all pages.
However, when I drag it in either Chrome or Safari it causes the whole page to scroll down automatically, and regardless of the direction I am dragging in.
Strangely, on the the single project pages there is not this problem, so I guess it must be solvable in my mark up, but I have no idea how to do it.
Can anybody help?