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
Please use the 👍 reaction to show that you are affected by the same issue.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Subscribe to receive notifications on status change and new comments.
Describe the bug
When I open a card to add a description, the card will be saved automatically as soon as I stop typing. However in this moment the focus of the text editor gets lost and instead the title is focused. This is very confusing since you do not expect that the cursor suddenly jumps from the text editor to the title.
To Reproduce
Steps to reproduce the behavior:
Create a new card.
Open the card.
Click the "Description" field and type something.
When the card is saved, it can happen, that the focus is lost and jumps to the title.
Expected behavior
The focus should always stay where it is and must not be changed without user interaction to change it intentionally.
Are you using an external user-backend, if yes which one: no
Logs
Nextcloud log (data/nextcloud.log)
(too large)
Browser log
Error with Permissions-Policy header: Unrecognized feature: 'browsing-topics'.
logger-Ba6Q6YnM.chunk.mjs:951 [WARN] viewer: Some mimes were ignored because they are not enabled in the server previews config {app: 'viewer', uid: 'awelzel', level: 2, ignoredMimes: Array(4)}
log @ logger-Ba6Q6YnM.chunk.mjs:951
warn @ logger-Ba6Q6YnM.chunk.mjs:951
(anonymous) @ viewer-init.mjs?v=7b18253f-81:4788
listener.js:184 [Deprecation] Listener added for a 'DOMNodeRemoved' mutation event. Support for this event type has been removed, and this event will no longer be fired. See https://chromestatus.com/feature/5083947249172480 for more information.
(anonymous) @ listener.js:184
(anonymous) @ listener.js:34
session-heartbeat.js:83 session heartbeat polling started
style-BNtK61kD.chunk.mjs:2 InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
at IB (NotificationsApp-CX_2Ib0T.chunk.mjs:34:21826)
at s.mounted (NotificationsApp-CX_2Ib0T.chunk.mjs:34:67268)
at lt (style-BNtK61kD.chunk.mjs:2:23489)
at tt (style-BNtK61kD.chunk.mjs:2:31208)
at Object.insert (style-BNtK61kD.chunk.mjs:2:34641)
at Ht (style-BNtK61kD.chunk.mjs:2:55281)
at M.__patch__ (style-BNtK61kD.chunk.mjs:2:56635)
at Gi.t._update (style-BNtK61kD.chunk.mjs:2:28791)
at M.r (style-BNtK61kD.chunk.mjs:2:29561)
at t.get (style-BNtK61kD.chunk.mjs:2:25766)
Ze @ style-BNtK61kD.chunk.mjs:2
qe @ style-BNtK61kD.chunk.mjs:2
St @ style-BNtK61kD.chunk.mjs:2
lt @ style-BNtK61kD.chunk.mjs:2
tt @ style-BNtK61kD.chunk.mjs:2
insert @ style-BNtK61kD.chunk.mjs:2
Ht @ style-BNtK61kD.chunk.mjs:2
(anonymous) @ style-BNtK61kD.chunk.mjs:2
Gi.t._update @ style-BNtK61kD.chunk.mjs:2
r @ style-BNtK61kD.chunk.mjs:2
t.get @ style-BNtK61kD.chunk.mjs:2
t.run @ style-BNtK61kD.chunk.mjs:2
Yi @ style-BNtK61kD.chunk.mjs:2
(anonymous) @ style-BNtK61kD.chunk.mjs:2
fn @ style-BNtK61kD.chunk.mjs:2
Promise.then
Gt @ style-BNtK61kD.chunk.mjs:2
ge @ style-BNtK61kD.chunk.mjs:2
oe @ style-BNtK61kD.chunk.mjs:2
t.update @ style-BNtK61kD.chunk.mjs:2
Gi.t.$forceUpdate @ style-BNtK61kD.chunk.mjs:2
s @ style-BNtK61kD.chunk.mjs:2
(anonymous) @ style-BNtK61kD.chunk.mjs:2
(anonymous) @ style-BNtK61kD.chunk.mjs:2
Promise.then
Pi @ style-BNtK61kD.chunk.mjs:2
nr @ style-BNtK61kD.chunk.mjs:2
Ti @ style-BNtK61kD.chunk.mjs:2
Sn @ style-BNtK61kD.chunk.mjs:2
t.$createElement @ style-BNtK61kD.chunk.mjs:2
render @ notifications-main.mjs?v=7b18253f-81:3
Ai.t._render @ style-BNtK61kD.chunk.mjs:2
r @ style-BNtK61kD.chunk.mjs:2
t.get @ style-BNtK61kD.chunk.mjs:2
t @ style-BNtK61kD.chunk.mjs:2
qi @ style-BNtK61kD.chunk.mjs:2
M.$mount @ style-BNtK61kD.chunk.mjs:2
t._init @ style-BNtK61kD.chunk.mjs:2
M @ style-BNtK61kD.chunk.mjs:2
(anonymous) @ notifications-main.mjs?v=7b18253f-81:3
The text was updated successfully, but these errors were encountered:
thanks a lot for your report. I could not yet reproduce the issue. How often does the focus issue occur relatively, does it happen every time the description is saved or just some times?
It happens some times. I edit 10 cards, at least 3-5 times this focus changes happens. My strategy to find the cause of this problem would be to check the code for the use of focus() - because without either removing the focus or setting it, this would not happen.
For me it always happens after the editor saved. So after typing and waiting for Description (unsave) to disappear focus is lost. This happens in bigger view as well as in sidebar view.
Also a lot of other actions currently remove the focus (all interactions with the Text menu).
How to use GitHub
Describe the bug
When I open a card to add a description, the card will be saved automatically as soon as I stop typing. However in this moment the focus of the text editor gets lost and instead the title is focused. This is very confusing since you do not expect that the cursor suddenly jumps from the text editor to the title.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The focus should always stay where it is and must not be changed without user interaction to change it intentionally.
Screenshots
Client details:
Server details
Operating system:
Web server:
Database:
PHP version:
Nextcloud version: (see Nextcloud admin page)
Where did you install Nextcloud from:
Signing status:
List of activated apps:
Nextcloud configuration:
Are you using an external user-backend, if yes which one: no
Logs
Nextcloud log (data/nextcloud.log)
Browser log
The text was updated successfully, but these errors were encountered: