Replies: 3 comments
-
So the element is defined but doesn't have style? Maybe some code is changing |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I'm encountering a weirdly similar issue. TypeError: Cannot set property 'height' of undefined
at new s (239.js:formatted:11691)
at new l (239.js:formatted:11797)
at new w (239.js:formatted:13143)
at Module.ace.define.t.edit (239.js:formatted:15980)
at main.js:formatted:72556
at fi (main.js:formatted:59833)
at t.unstable_runWithPriority (main.js:formatted:64344)
at Wa (main.js:formatted:56490)
at zi (main.js:formatted:59622)
at ri (main.js:formatted:59362)
to @ main.js:formatted:58633 But weirdly enough - only when hosted by Flask! I put a breakpoint there, and when in Flask, the object: CSSStyleDeclaration {alignContent: "", alignItems: "", alignSelf: "", alignmentBaseline: "", all: "", …} If you have any idea what's causing this or how to overcome it I would be greatly appreciative. |
Beta Was this translation helpful? Give feedback.
-
I'm using ace in a wordpress plugin. It works fine on 200 000+ installations.
However, on one site it does not work - it reports Javascript error - cannot set property 'height' of undefined.
Tested with 1.4.5 - the last line in this code throws the error:
This is where the Lines function is called:
This can be reproduced only on one website (specific combination of WP theme and plugins).
Any clue?
Beta Was this translation helpful? Give feedback.
All reactions