You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RTC: In core/details block, cursor in hidden blocks is rendered outside of block #79641
Below, user A edits a core/details internal block, and user B sees a phantom cursor:
summary-block.mov
Ideally we should hide a cursor when it is editing a block that is not visible to other users, or otherwise indicate editing within a block without drawing a moving cursor.
changed the title [-]RTC: In core/details block, cursor in hidden inner blocks is rendered incorrectly[/-][+]RTC: In core/details block, cursor in hidden blocks is rendered outside of block[/+]on Jun 29, 2026
Thanks for filing this, I faced the same bug and turns out you already filed it!! A couple of quick clarifications before I start:
Of the two options mentioned — suppressing the cursor entirely vs. showing an alternate "editing inside" indicator — which would you prefer for a first pass?
Should this be specific to core/details, or generic to any block with hidden/collapsed content? A hardcoded check would only cover core/details, while a generic "is this element actually visible" check would also cover core/accordion (which has the same collapsed-panel problem) and any future blocks like Tabs if that ships. I'd lean toward the generic approach for that reason — does that match your expectation?
Should this also apply to text selections inside a collapsed block, not just the single cursor?
If the indicator option is preferred, is there a design reference, or is something minimal (e.g. a small badge on the visible parent) fine for v1?
If the viewer expands the hidden section themselves while the other user is still editing inside it, should the cursor reappear immediately, or is it okay if it only catches up on the next natural recompute?
Happy to start work once the direction is confirmed. Thanks!
Hello @giteshsarvaiya, great questions! Here's what I'm thinking:
'suppressing the cursor entirely vs. showing an alternate "editing inside" indicator': I think we can just suppress the cursor when it's inside hidden blocks.
Should this be specific to core/details, or generic to any block with hidden/collapsed content? Good call-out. Let's definitely aim for generic here, ideally the solution for the summary block can apply to other foldable/hidden blocks.
Should this also apply to text selections? Selections contained entirely within a hidden section should also remain hidden. If we also solve the mixed-content selection issue, I think selections that range over hidden blocks should just skip drawing the hidden part of the selection.
If the indicator option is preferred, is there a design reference? Nothing here, as we can just hide hidden cursors for now.
If the viewer expands the hidden section themselves while the other user is still editing inside it, should the cursor reappear immediately, or is it okay if it only catches up on the next natural recompute? I think a short delay in cursor drawing is okay. The 10-second general redraw delay might be too long to be useful here.
Hi @alecgeatches , the solution to this one is straightforward, but it is dependent in the text selection logic as well, so I will finish the #79643 first, then this one.
This is what I think, feel free to let me know if I should do otherwise for the achieving deadline.
Thanks for your bytes on my queriers, appreciate the quick response.
Since the collaborative editing feature has been punted from the 7.1 release, I would like to change the status of this issue on the project board accordingly.
Activity
[-]RTC: In core/details block, cursor in hidden inner blocks is rendered incorrectly[/-][+]RTC: In core/details block, cursor in hidden blocks is rendered outside of block[/+]giteshsarvaiya commentedon Jun 30, 2026
hey @alecgeatches
Thanks for filing this, I faced the same bug and turns out you already filed it!! A couple of quick clarifications before I start:
Happy to start work once the direction is confirmed. Thanks!
alecgeatches commentedon Jul 1, 2026
Hello @giteshsarvaiya, great questions! Here's what I'm thinking:
giteshsarvaiya commentedon Jul 2, 2026
Hi @alecgeatches , the solution to this one is straightforward, but it is dependent in the text selection logic as well, so I will finish the #79643 first, then this one.
This is what I think, feel free to let me know if I should do otherwise for the achieving deadline.
Thanks for your bytes on my queriers, appreciate the quick response.
t-hamano commentedon Jul 9, 2026
Since the collaborative editing feature has been punted from the 7.1 release, I would like to change the status of this issue on the project board accordingly.
Fix/79641 rtc cursor hidden details block v2 (#81322)