docs(changeset): Added refs and exports, isEmpty
This commit is contained in:
@@ -307,7 +307,7 @@ export const Computer = React.memo(() => {
|
||||
if (scrollToRowKey && ref && ready) {
|
||||
getRowIndexByKey?.(scrollToRowKey).then((r) => {
|
||||
if (r !== undefined) {
|
||||
console.log('Scrolling to selected row:', scrollToRowKey, r);
|
||||
//console.log('Scrolling to selected row:', scrollToRowKey, r);
|
||||
ref.scrollTo(0, r);
|
||||
getState('_events').dispatchEvent(
|
||||
new CustomEvent('scrollToRowKeyFound', {
|
||||
@@ -328,7 +328,7 @@ export const Computer = React.memo(() => {
|
||||
if (key && ref && ready) {
|
||||
getRowIndexByKey?.(key).then((r) => {
|
||||
if (r !== undefined) {
|
||||
console.log('Scrolling to selected row:', r, selectedRowKey, scrollToRowKey);
|
||||
//console.log('Scrolling to selected row:', r, selectedRowKey, scrollToRowKey);
|
||||
|
||||
if (selectedRowKey) {
|
||||
const onChange = getState('onChange');
|
||||
|
||||
Reference in New Issue
Block a user