Code Monkey home page Code Monkey logo

Comments (3)

fredck avatar fredck commented on July 26, 2024 1

GitHub RTE doesn't contain any code that controls the display of the mentions list, so this is definitely an upstream issue to be reported to CKEditor 5.


I had some intuition when trying to reproduce the problem which pointed me to the right direction... it's all about the speed of the feed filter function. If the function resolves after the user already moved out of the mentions typing, the list will show up with delay and stay stuck there.

For GitHub RTE, the list of issues comes from a XHR request made for the first time the mentions are used. Therefore, if the download and processing of the list meets a super fast typer, like you @mlewand, it can blow up.

To test it, I've messed up with this line of the filter code, changing it to the following:

setTimeout( () => {
	resolve( results );
}, 1000 );

It gave me 1s to move out of the mention typing and the issue is then easily reproducible.

from github-writer.

fredck avatar fredck commented on July 26, 2024 1

Possibly fixed by ckeditor/ckeditor5#4619.

from github-writer.

fredck avatar fredck commented on July 26, 2024

Confirmed the upstream fix, introduced here with 25851b3.

from github-writer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.