Giter Site home page Giter Site logo

Comments (8)

bahadiraraz avatar bahadiraraz commented on June 3, 2024

@nikgraf @bdbch can you please take a look ?

from tiptap.

bdbch avatar bdbch commented on June 3, 2024

Are you using the strict mode on react?

from tiptap.

bahadiraraz avatar bahadiraraz commented on June 3, 2024

Are you using the strict mode on react?

No

from tiptap.

bahadiraraz avatar bahadiraraz commented on June 3, 2024

In the build version of Next.js, the problem gets resolved, but there is a flickering issue when running in Next.js dev mode.
@bdbch

from tiptap.

Bajena avatar Bajena commented on June 3, 2024

πŸ‘‹ We're experiencing the same issue in react. I've recorded a loom here (sorry for my baby crying in the background πŸ™ˆ):
https://www.loom.com/share/251f3281d0ce4df491d9db0913479bd5

We're using the TipTapCollabProvider with YDoc:

const doc = new Y.Doc();
const provider = new TiptapCollabProvider({
  name: 'test-product-doc', // any identifier - all connections sharing the same identifier will be synced
  appId: 'app-id', // replace with YOUR_APP_ID
  token: 'TOKEN', // replace with your JWT
  document: doc,
});

Do you have any idea what could be causing that?

from tiptap.

ThisDavidRichard avatar ThisDavidRichard commented on June 3, 2024

Hey @Bajena @bahadiraraz , can you review this comment and check if the suggested code works for you?
#4482 (comment)

from tiptap.

Bajena avatar Bajena commented on June 3, 2024

Thanks @ThisDavidRichard, I just verified that it fixed the bug for us πŸ‘

Btw, the double wrapping of requestAnimationFrame seems to be unnecessary, might be worth checking that :)

from tiptap.

svenadlung avatar svenadlung commented on June 3, 2024

Should be fixed in 2.2.2 :)

from tiptap.

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.