Header with tabs showing shadow between
See original GitHub issueIssue Description
When adding a header with tabs, it is showing a shadow between the header and the tabs.
node, npm, react-native, react and native-base version, expo version if used
$ node -v v8.10.0
$ npm ls --depth 0 testApp@0.0.1 /home/david/dev/testApp ├── @babel/runtime@7.1.2 ├── babel-jest@23.6.0 ├── jest@23.6.0 ├── metro-react-native-babel-preset@0.48.1 ├── native-base@2.8.1 ├── react@16.5.0 ├── react-native@0.57.1 └── react-test-renderer@16.5.0
Expected behaviour
There should be no shadow between Header and Tabs
Steps to reproduce
I’ve included a base code to test this.
import React, { Component } from 'react';
import {
AppRegistry, Text, View
} from 'react-native';
import { Header, Container, Body, Title, Tabs, Tab } from 'native-base';
class App extends Component {
render() {
return (
<Container>
<Header hasTabs>
<Body>
<Title>
<Text>Header title</Text>
</Title>
</Body>
</Header>
<Tabs>
<Tab heading="Tab 1">
<View>
<Text>Tab 1 content</Text>
</View>
</Tab>
<Tab heading="Tab 2">
<View>
<Text>Tab 1 content</Text>
</View>
</Tab>
</Tabs>
</Container>
);
}
}
AppRegistry.registerComponent('testApp', () => App);
Is the bug present in both iOS and Android or in any one of them?
Only tested on Android
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
WPF: Get rid of shadow in tab headers - Stack Overflow
The style for the TabItems cause the tab headers to have a shadow. I don't want that shadow. Is there a way to...
Read more >Remove bottom border or shadow on header in React ...
By default, the Stack and Tab Navigators in this library add a header on a screen. This header has a default bottom border...
Read more >Safari Technology Preview Release Notes - Apple Developer
Note: Shared Tab Groups and syncing for Tab Groups, Website Settings, ... Added support for “Get Element Shadow Root”, “Find Element From Shadow...
Read more >Ion-Tabs: Tab-Based Component for App Top-Level Navigation
Interfaces; Usage; Properties; Events; Methods; CSS Shadow Parts ... It does not provide any UI feedback or mechanism to switch between tabs.
Read more >Tabs | Dash for Python Documentation | Plotly
We also added display: flex and justify-content: center to the regular Tab components, so that labels with multiple lines will not break the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@davidrojo
@ShinsukeWatanabe Thanks, this works fine in android