Position of navigation buttons in RTL languages are not correct in iPad

谁说胖子不能爱 提交于 2019-12-11 08:33:48

问题


Position of navigation buttons in RTL languages are not correct in iPad

Position of navigation button in iPad and iPhone is different when device language is set to Arabic (RTL)

Could anyone please guide why this is happening and how to fix this? Thanks in advance for any help provided.

Below are the screenshot and details of the device:

1. RTL_iPad_Retina_iOS8.4 (device having incorrect position of buttons) Device: iPad Retina OS: iOS 8.4

2. RTL_iPhone_6sPlus_iOS10.2 Device: iPhone 6s plus OS: iOS 10.2


回答1:


You Can Modify With CSS If You Are Using ion-buttons left Just Change Your Button Order

.bar-buttons[left] {
            @include ltr(){
                -webkit-order: 2;
                -ms-flex-order: 2;
                order: 2;
            }
            @include rtl(){
                -webkit-order: 5;
                -ms-flex-order: 5;
                order: 5;
            }
        }


来源:https://stackoverflow.com/questions/45736141/position-of-navigation-buttons-in-rtl-languages-are-not-correct-in-ipad

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!