Skip to content

Commit

Permalink
fix(fscomponents): Fixes for IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
Cauldrath authored and bweissbart committed Mar 15, 2019
1 parent c9c8f78 commit 6a3f2d0
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
6 changes: 4 additions & 2 deletions packages/fsapp/src/components/DrawerRouter.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,14 @@ export default class DrawerRouter extends Component<PropType, AppStateTypes> {
overflowX: 'hidden'
},
appDrawerDefault: {
flex: 1
flex: 1,
flexBasis: 'auto'
},
container: {
transitionDuration: drawerDuration,
width: '100%',
flex: 1
flex: 1,
flexBasis: 'auto'
},
containerDrawerLeftOpen: {
marginLeft: drawerWidth
Expand Down
3 changes: 2 additions & 1 deletion packages/fsapp/src/components/screenWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import EnvSwitcher from '../lib/env-switcher';

const styles = StyleSheet.create({
screenContainer: {
flex: 1
flex: 1,
flexBasis: 'auto'
},
devNoteContainer: {
position: 'absolute',
Expand Down
3 changes: 2 additions & 1 deletion packages/fsapp/src/components/screenWrapper.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import { AppConfigType, DrawerConfig } from '../types';

const styles = StyleSheet.create({
screenContainer: {
flex: 1
flex: 1,
flexBasis: 'auto'
},
devNoteContainer: {
position: 'absolute',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const S = StyleSheet.create({
borderTopWidth: 2,
borderLeftWidth: 2,
borderColor: 'black',
borderBottomColor: 'transparent',
transform: [
{
rotate: '-45deg'
Expand All @@ -55,6 +56,7 @@ const S = StyleSheet.create({
borderTopWidth: 2,
borderRightWidth: 2,
borderColor: 'black',
borderLeftColor: 'transparent',
transform: [
{
rotate: '45deg'
Expand Down Expand Up @@ -242,6 +244,7 @@ export class MultiCarousel<ItemT> extends Component<MultiCarouselProps<ItemT>, M
onTouchStart={this.handleTouchStart}
onTouchEnd={this.handleTouchEnd}
onTouchMove={this.handleTouchMove}
style={{ flexBasis: 'auto' }}
>
<View
style={{ width: this.props.centerMode ? this.props.peekSize : 0 }}
Expand Down
6 changes: 5 additions & 1 deletion packages/fscomponents/src/components/ReviewsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ export class ReviewsList extends Component<ReviewsListProps> {
} = this.props;

return (
<ScrollView>
<ScrollView
style={{
flexBasis: 'auto'
}}
>
{reviews.map((review, key) => {
return (
<ReviewItem
Expand Down

0 comments on commit 6a3f2d0

Please sign in to comment.