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

background does not expand to fill width going portrait to landscape on iOS #459

Open
chris-praxis opened this issue Jan 20, 2024 · 0 comments

Comments

@chris-praxis
Copy link

On iOS, often when launching app in portrait and then rotating to landscape, the bottom tab background does not expand to fill screen width and other content can be seen behind bottom tab icons (see image). This has been happening for me for a long time.

Which platform(s) does your issue occur on?

  • iOS

  • various, latest tested is 16.6.1

  • iPhone

  • CLI: 8.6.5

  • Runtime(s): @nativescript/ios 8.6.3

  • Plugin(s): @nativescript-community/ui-material-bottom-navigation 7.2.34, nativescript-vue 2.9.3

            <ContentView row="2">
                <MDBottomNavigation :selectedIndex="selectedIndex" @selectedIndexChanged="onIndexChanged" swipeEnabled="false">
                    <MDTabContentItem>
                        <Frame id="training_frame">
                            <Training :courseListData="courseListData" :drillListData="drillListData" :playVideoFunc="playVideo" />
                        </Frame>
                    </MDTabContentItem>
                    <MDTabContentItem>
                        <Frame id="history_frame">
                            <History :courseListData="courseListData" />
                        </Frame>
                    </MDTabContentItem>
                    <MDTabContentItem>
                        <Frame id="settings_frame">
                            <GlobalSettings />
                        </Frame>
                    </MDTabContentItem>
                    <MDTabStrip ref="tabStrip">
                        <MDTabStripItem android:iconSource="res://train_icon" ios:iconSource="res://images/train_icon">
                            <Label class="tabText" text="Training" />
                        </MDTabStripItem>
                        <MDTabStripItem android:iconSource="res://history_icon" ios:iconSource="res://images/history_icon">
                            <Label class="tabText" text="History" />
                        </MDTabStripItem>
                        <MDTabStripItem android:iconSource="res://settings_icon" ios:iconSource="res://images/settings_icon">
                            <Label class="tabText" text="Settings" />
                        </MDTabStripItem>
                    </MDTabStrip>
                </MDBottomNavigation>
            </ContentView>
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

1 participant