-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
It seems that changing highlight property doesn't update the component.
I have a react code like below to scroll AND highlight to the specific line.
const [lineNumber, setLineNumber] = useState(1);
<LazyLog
text={mlirData?.content}
scrollToLine={lineNumber}
highlight={lineNumber}
/>
When the lineNumber is updated, LazyLog is scrolled to the line number as expected. But the highlight is not updated.
Do you have any idea?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working