p-dialog error: TypeError: Cannot set property 'left' of undefined

UI Components for Angular
Post Reply
diegoarantes
Posts: 4
Joined: 26 Mar 2014, 21:02

04 Dec 2019, 16:10

I am using PrimeNG 9.0.0-RC1. I am getting an error changing the setting visible to true.

Code: Select all

ERROR TypeError: Cannot set property 'left' of undefined
    at Dialog.center (primeng-dialog.js:98)
    at Dialog.positionOverlay (primeng-dialog.js:77)
    at Dialog.onAnimationStart (primeng-dialog.js:461)
    at Object.eval [as handleEvent] (Dialog.html:2)
    at handleEvent (core.js:43993)
    at callWithDebugContext (core.js:45632)
    at Object.debugHandleEvent [as handleEvent] (core.js:45247)
    at dispatchEvent (core.js:29804)
    at core.js:42925
    at animations.js:351

yigitfindikli
Posts: 358
Joined: 08 Aug 2018, 14:09

11 Dec 2019, 14:16

diegoarantes wrote:
04 Dec 2019, 16:10
I am using PrimeNG 9.0.0-RC1. I am getting an error changing the setting visible to true.

Code: Select all

ERROR TypeError: Cannot set property 'left' of undefined
    at Dialog.center (primeng-dialog.js:98)
    at Dialog.positionOverlay (primeng-dialog.js:77)
    at Dialog.onAnimationStart (primeng-dialog.js:461)
    at Object.eval [as handleEvent] (Dialog.html:2)
    at handleEvent (core.js:43993)
    at callWithDebugContext (core.js:45632)
    at Object.debugHandleEvent [as handleEvent] (core.js:45247)
    at dispatchEvent (core.js:29804)
    at core.js:42925
    at animations.js:351
Hi,
Fixed in 9.0.0.rc2), you can look at https://github.com/primefaces/primeng/issues/8364 .
Best Regards.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: gitfitdev and 3 guests