Code Monkey home page Code Monkey logo

Comments (8)

majkers avatar majkers commented on July 22, 2024 1

I am also having this error when fast mouse movement:

zone.js:162 Uncaught TypeError: Cannot read properties of null (reading 'style')
    at Tooltip.preAlign (primeng-tooltip.mjs:518:24)
    at Tooltip.alignBottom (primeng-tooltip.mjs:501:14)
    at Tooltip.align (primeng-tooltip.mjs:428:22)
    at primeng-tooltip.mjs:381:18
    at timer (zone.js:1707:37)
    at _ZoneDelegate.invokeTask (zone.js:400:33)
    at ZoneImpl.runTask (zone.js:158:47)
    at invokeTask (zone.js:481:34)
    at ZoneTask.invoke (zone.js:470:48)
    at data.args.<computed> (zone.js:1689:32)

from primeng.

Sinan997 avatar Sinan997 commented on July 22, 2024 1

Hi, i couldn't produce this bug in version 17.17.0. I guess it's fixed.

from primeng.

djohle avatar djohle commented on July 22, 2024 1

Hi, i couldn't produce this bug in version 17.17.0. I guess it's fixed.

Tried 17.17.0 today and I can also confirm that it does not happen anymore.
Commit 6608cae appears to be the fix.

from primeng.

WillBoig avatar WillBoig commented on July 22, 2024 1

Confirmed on my part that 17.17.0 fixed the issue.

from primeng.

jlorellana684 avatar jlorellana684 commented on July 22, 2024

Im facing the same problem in my project

from primeng.

djohle avatar djohle commented on July 22, 2024

I am seeing this as well (pretty much same stack trace as above). Confirmed that moving slowly is okay, but a bit faster results in the error.

Also, possibly related, my page scrollbar appears for a split second during the showing of the tooltip (goes away as soon as the tooltip is done rendering). As a result, the page re-flows a bit each time which is very jarring if you move the mouse across a bunch of links in succession (e.g. items in a list/table). This happens regardless of movement speed, unfortunately.

No issues upon leaving -- tooltip just vanishes as expected.

from primeng.

eliassen-davidmcfeely avatar eliassen-davidmcfeely commented on July 22, 2024

I am getting the same issues on the latest version. Fast moving over the tooltip gives the console error, but more annoying now I'm getting a vertical scrollbar on the body for half a second when I hover over an element that display's a tooltip. The vertical scrollbar then disappears.

from primeng.

horizoncarlo avatar horizoncarlo commented on July 22, 2024

Also confirmed to be fixed in 17.17.0. Still don't love the magic number of a 100ms timeout under the hood.

Anyway I'll close the issue

from primeng.

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.