You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On your page with library (https://valor-software.com/ngx-bootstrap/#/popover), popover "Corner placement" doesn't work correct on Mozilla Firefox > 68.0.0.
For example:
when popover is on right side, position of arrow is always on top in "right bottom" and "right top":
In chrome, everything is correct:
ngx-bootstrap: 5.6.2
Angular: 9
Bootstrap: 4.0
The text was updated successfully, but these errors were encountered:
I can also confirm this is not working in Firefox version 90.0b3 (Developer Edition) on the ngx-bootstrap homepage and neither in the local Angular Application. (Works in Chrome)
consttargetBorderRadius=parseFloat(css.borderRadius);// css.borderRadius is "" in Firefox
this results in targetBorderRadius being set to NaN and essentially the correct value is not set as anything added to NaN is also NaN, I will see if I am able to raise a pull request for this over the weekend but that line is causing it to break. Not sure if the Firefox implementation is at fault or something else.
A quick fix would be to add a fallback value of 0 in case that results in a NaN, so like
Bug description:
On your page with library (https://valor-software.com/ngx-bootstrap/#/popover), popover "Corner placement" doesn't work correct on Mozilla Firefox > 68.0.0.
For example:
when popover is on right side, position of arrow is always on top in "right bottom" and "right top":
In chrome, everything is correct:
ngx-bootstrap: 5.6.2
Angular: 9
Bootstrap: 4.0
The text was updated successfully, but these errors were encountered: