Skip to content

Commit e12f607

Browse files
committed
Fix Firefox scrolling with this one weird trick...
Delegates to the parent as a workaround.
1 parent f509b1f commit e12f607

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

website/components/App.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const Example = ({ page }) => (
3333
flex="1"
3434
padding={`${PAD}px ${PAD*2}px`}
3535
height="100%"
36-
overflow="hidden"
36+
overflow="auto"
3737
>
3838
<FadeIn>
3939
<V height="100%">
@@ -194,4 +194,3 @@ const App = () => (
194194
)
195195

196196
export default App
197-

website/components/bricks.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class B extends React.Component {
4343

4444
export class Flex extends React.Component {
4545
render() {
46-
return <B {...this.props} display="flex" overflow="hidden" />
46+
return <B {...this.props} display="flex" />
4747
}
4848
}
4949

@@ -58,4 +58,3 @@ export class V extends React.Component {
5858
return <Flex {...this.props} flexDirection="column"/>
5959
}
6060
}
61-

0 commit comments

Comments
 (0)