Uncaught TypeError: Cannot set property top of #<ClientRect> which has only a getter
Using react-bootstrap 0.28.3...an OverlayTrigger with Popover content is causing the above error. Not sure why, maybe because the DOM element the Overlay is bound to is absolutely positioned. The Popover does not appear and is not present in the DOM
Commenting out these two lines in position.js resolves the issue but not sure it's a real fix
parentOffset.top += parseInt((0, _style2['default'])(offsetParent, 'borderTopWidth'), 10) - (0, _scrollTop2['default'])(offsetParent) || 0;
parentOffset.left += parseInt((0, _style2['default'])(offsetParent, 'borderLeftWidth'), 10) - (0, _scrollLeft2['default'])(offsetParent) || 0
Also if we remove the container prop for {this} from the OveralyTrigger, the Popover appears but is not positioned properly.
Any ideas?
that's a weird one... what are your env details? and from those two lines can you narrow it down further to which thing specifically is throwing?
Any update on this? Also seeing this same error on react-bootstrap 0.29.4. Seen in FF and Chrome.