OverlayTrigger error with next 15.4
Author: pudoCreated Jul 23, 2025Updated Oct 23, 2025
Labelsbugneeds more info
Prerequisites
- I am using the correct version of React-Bootstrap for my version of Bootstrap
- I have searched for duplicate or closed issues
- I have read the contributing guidelines
Describe the bug
When updating our site to use next 15.4.1 from 15.3.5, the OverlayTrigger contained in react-bootstrap 2.10.10 starts throwing the following error:
This may be linked to the length of the text used as a tooltip: short ones work, but above ~35 characters, the exception is thrown.
Reverting to a previous version of next fixes the issue.
Expected behavior
No response
To Reproduce
No response
Reproducible Example
Needs nextjs
Screenshots
No response
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Chrome
What version of React-Bootstrap are you using?
2.10.10
What version of Bootstrap are you using?
5.3.3
Additional context
No response
Source: react-bootstrap/react-bootstrap