зеркало из https://github.com/microsoft/reactxp.git
Ensure taht onKeyDown/Focus/Blur events are sent from ScrollView (#898)
They were only wired up for CustomScrollbar implementation, which means that VirtualListView would not work in acessibility mode unless Custom Scrollbars were enabled
This commit is contained in:
Родитель
ab2f657fe2
Коммит
ec74e05bc6
|
@ -273,6 +273,9 @@ export class ScrollView extends ViewBase<RX.Types.ScrollViewProps, RX.Types.Stat
|
|||
onTouchStart={ this._onTouchStart }
|
||||
onTouchEnd={ this._onTouchEnd }
|
||||
style={ this._getContainerStyle() as any }
|
||||
onKeyDown={ this.props.onKeyPress }
|
||||
onFocus={ this.props.onFocus }
|
||||
onBlur={ this.props.onBlur }
|
||||
data-test-id={ this.props.testId }
|
||||
>
|
||||
{ this.props.children }
|
||||
|
|
Загрузка…
Ссылка в новой задаче