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

Android WebView update v65.0.3325.109 causing Tabs to overlap and unscrollable #10

Open
aharslan opened this issue Mar 13, 2018 · 2 comments

Comments

@aharslan
Copy link

aharslan commented Mar 13, 2018

2018-03-13

The tabs are overlapping and are not scrollable after the WebView update on android.

@bedezub
Copy link

bedezub commented Apr 19, 2018

I am facing the same issue. Is there any solution for this yet?

@aharslan
Copy link
Author

Managed a workaround for this problem. Try adding display: -webkit-box class in case of android platform in your scrollable-tabs component in the ngAfterViewInit() method.

// set tabbar overflow-x: scroll
this.renderer.setElementStyle(this.nativeTabbar, "overflow-x", "scroll");

// set tabbar overflow-y: hidden
this.renderer.setElementStyle(this.nativeTabbar, "overflow-y", "hidden");

if (this.plt.is('android')) {
  this.renderer.setElementStyle(this.nativeTabbar, 'display', '-webkit-box');
}

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