Comments (5)
I didn't understand the browser part: Firefox 127.0.2 (not to be confused with localhost) on Linux.
That was a reference to his version of Firefox. The version number 127.0.2 looks like a local network IP of the 127.0.X.Y variety.
If you type out a long comment 255 chars+ (much longer than just "asdfgadfs" and no new lines). Do you get the same behaviour?
from invenio-app-rdm.
I didn't understand the browser part: Firefox 127.0.2 (not to be confused with localhost) on Linux. However, I tested it on both Chrome and Firefox, and it seems like I am unable to reproduce the issue with the timer.
However, as you can see in SR, when pressing enter, the new line appears at the top. When placing the cursor at the end, it jumps to the top, and this doesn't seem to be related to the timer.
A temporary workaround is to paste the text as is from another source, or click on "Insert Code," write your text, cut it, and then paste it back.
- code text highlighting is lost when clicking save.
from invenio-app-rdm.
Potentially related: 5s refresh interval for requests
from invenio-app-rdm.
Got it now Firefox version 127.0.2, not your local IP! 😅
Okay, Using Firefox 127.0 (released on June 11, 2024) and Chrome 126.0.6478.126 (not to be confused with my IP address ;) as the issue is browser-agnostic, I tested with a long comment (255+ characters, single line).
The cursor only jumps when pressing enter, as I mentioned earlier.
I've also noticed that it loses focus randomly, as seen in the SR when clicking and pressing space rapidly also not related to the timer.
Any ideas on the cause @fenekku ?
from invenio-app-rdm.
The cursor only jumps when pressing enter, as I mentioned earlier.
I've also noticed that it loses focus randomly, as seen in the SR when clicking and pressing space rapidly also not related to the timer.
Ugh... I am still thinking it has to do with the textarea being re-rendered by React. It's a known problem that the cursor position will be lost in those situations unless kept in the state or using a Ref (:stuck_out_tongue_closed_eyes: ). If it's not (only) the 5s timer causing re-renders, but perhaps other events that would explain it. I am working on something else so perhaps a React expert could chime in.
from invenio-app-rdm.
Related Issues (20)
- Requests: No Length Upper Boundary for Comment Messages HOT 4
- Publish button visible without permission to publish
- Shared Links: Permission denied when trying to access draft when logged in HOT 1
- populate Share -> Grants and Links to the inclusion request
- Cannot re-index all indices with the `rebuild-all-indices` command
- Search improvements
- Improve diacritic search
- Improve exact keyword search HOT 1
- Some users cannot be found when inviting or setting restrictions
- Searching for names when adding creators return inconsistent results
- Searching for prefixes of words fails
- Searching with special characters result to 500 in affiliations
- Search fails when forward slashes are used
- Vocabularies: Improve subjects field
- Deposit form: description field loses content after losing focus HOT 1
- Domains: Existing Domains Not Visible on Admin Page After Login
- Creating documentation about analysers etc
- Guest access request: viewing request timeline UI as owner fails HOT 2
- Static Pages Not Created During services setup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from invenio-app-rdm.