NAXAM / toptabbedpage-xamarin-forms

TopTabbedPage - A Xamarin.Forms page for showing tabs at top on iOS
Apache License 2.0
81 stars 24 forks source link

[Bug] with Xamarin.Forms.Maps, Click on a Tab is swiping the page too far #14

Closed Phenek closed 5 years ago

Phenek commented 6 years ago

Hello,

I'm using Xamarin.Forms 3.0 on Visual Studio for Mac. Pages are not swiping great when clicking on a Tab

My TabbedPage got two childrens pages. When I click Tab2 is going to a third Page, then when I click on Tab1 it's going to Tab2... Sometime is blocking at the middle of 2|3

Trying to compile the repo to debug but I got, warning: directory not found for option '-F/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries' Native linking error : framework not found RevealServer

Maybe because I'm on Mac? Let me know if you got any Idea Regards

tuyen-vuduc commented 6 years ago

warning: directory not found for option '-F/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries'

Remove mtouch arguement in project options.

Plz try it out to see if you could find something valueable to fix.

Phenek commented 6 years ago

Ok Thanks, I was able to reproduce this bug, and it appear when we use Xamarin.Forms.Maps on a tabbed Page!

I just modify your MyPage.xaml in Demo project like below: <?xml version="1.0" encoding="UTF-8"?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:maps="clr-namespace:Xamarin.Forms.Maps;assembly=Xamarin.Forms.Maps" x:Class="TopTabbedPageQs.MyPage"> <maps:Map VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" x:Name="MyMap" MapType="Street"/> </ContentPage>

and added the Xamarin.Forms.Maps nuget with Xamarin.FormsMaps.Init(); in AppDelegate.cs

Delvint commented 6 years ago

I have a similar Problem but with an Editor in a TabbedPage which is causing the index to got wild. Only on iOS.

tuyen-vuduc commented 5 years ago

Plz try out latest release.