mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) Bug fix: when on Raw Data popup, clicks on cells shouldn't navigate the page
Test Plan: Added a test check that fails without the fix Reviewers: paulfitz Reviewed By: paulfitz Subscribers: paulfitz Differential Revision: https://phab.getgrist.com/D3831
This commit is contained in:
parent
22dbab0123
commit
33c08057ad
@ -524,7 +524,7 @@ export class GristDoc extends DisposableWithEvents {
|
||||
}
|
||||
|
||||
public async setCursorPos(cursorPos: CursorPos) {
|
||||
if (cursorPos.sectionId) {
|
||||
if (cursorPos.sectionId && cursorPos.sectionId !== this.externalSectionId.get()) {
|
||||
const desiredSection: ViewSectionRec = this.docModel.viewSections.getRowModel(cursorPos.sectionId);
|
||||
if (desiredSection.view.peek().getRowId() !== this.activeViewId.get()) {
|
||||
// This may be asynchronous. In other cases, the change is synchronous, and some code
|
||||
|
Loading…
Reference in New Issue
Block a user