docs(changeset): Added refs and exports, isEmpty

This commit is contained in:
Hein
2025-10-29 14:56:59 +02:00
parent 615b89360a
commit 54deac6ccc
10 changed files with 245 additions and 186 deletions

View File

@@ -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');