How to use the @wordpress/components.KeyboardAwareFlatList.handleCaretVerticalPositionChange function in @wordpress/components

To help you get started, we’ve selected a few @wordpress/components examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github WordPress / gutenberg / src / block-management / block-manager.js View on Github external
onCaretVerticalPositionChange( targetId: number, caretY: number, previousCaretY: ?number ) {
		KeyboardAwareFlatList.handleCaretVerticalPositionChange( this.scrollViewRef, targetId, caretY, previousCaretY );
	}
github WordPress / gutenberg / packages / block-editor / src / components / block-list / index.native.js View on Github external
onCaretVerticalPositionChange( targetId, caretY, previousCaretY ) {
		KeyboardAwareFlatList.handleCaretVerticalPositionChange( this.scrollViewRef, targetId, caretY, previousCaretY );
	}