Make sure to proxy special prop ref
This commit is contained in:
parent
b80568b1c5
commit
39e9d52c04
3 changed files with 22 additions and 6 deletions
|
@ -26,7 +26,7 @@ class GeminiScrollbarWrapper extends React.Component {
|
|||
// By default GeminiScrollbar allows native scrollbars to be used
|
||||
// on macOS. Use forceGemini to enable Gemini's non-native
|
||||
// scrollbars on all OSs.
|
||||
return <GeminiScrollbar forceGemini={true} {...this.props}>
|
||||
return <GeminiScrollbar ref={this.props.wrappedRef} forceGemini={true} {...this.props}>
|
||||
{ this.props.children }
|
||||
</GeminiScrollbar>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue