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

ToolbarItems' position is changing when we are switching tabs #30

Open
toussam opened this issue Feb 22, 2019 · 4 comments
Open

ToolbarItems' position is changing when we are switching tabs #30

toussam opened this issue Feb 22, 2019 · 4 comments

Comments

@toussam
Copy link

toussam commented Feb 22, 2019

Hi,

I have an issue similar to #26 .

I am using your control to display two ContentPages and I added two ToolbarItems to it. On iOS, when I am switching the tabs with a slide, the ToolbarItems are changing their position between each other. Then, if I am switching the tabs by tapping, the ToolbarItems are taking their original position.

I know that @eldin66 made the slide optional, but if it's possible I would like to keep it.
Could you fix this issue ?

Thank you in advance for your response and your time !
Best regards,

@toussam
Copy link
Author

toussam commented Feb 27, 2019

hi @tuyen-vuduc ,

Any help ? :)

Best regards,

@fengchao1000
Copy link

Hi @toussam
I have an same issue , Did you solve it.

Best regards,

@toussam
Copy link
Author

toussam commented Jan 18, 2021

Hi @fengchao1000 :)

It's been almost two years since I opened this issue therefore I don't remember if I fixed it. 😅

If you are using the last release and still got the problem, I would advice you to import or fork the project and fix it yourself.
That or using another plugin. 😉

Best regards,

@fengchao1000
Copy link

fengchao1000 commented Jan 23, 2021

Hi @toussam

Thank you for your reply.
I fixed the issue, Modify the code as follows:

//navigationItem.SetRightBarButtonItems(toolbarItems.Select(x => x.ToUIBarButtonItem()).ToArray(), false); navigationItem.SetRightBarButtonItems(toolbarItems.Select(x => x.ToUIBarButtonItem()).Reverse().ToArray(), false);

in TopTabbedRendererSelection.cs

Best regards,

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

No branches or pull requests

2 participants