I work on a website that uses Cookiebot to handle cookies, and unrelated, also has a Rich Text Editor in many places, for writing posts etc.The Rich Text Editor is implemented in React, using facebook/draft-js (https://github.com/facebook/draft-js)
We received a complaint from users yesterday (16.12.2019) that the Rich Text Editor behaves weirdly. This is the earliest report of the issue that we have, but it might have appeared earlier.
After a few hours of debugging, I noticed that removing `data-blockingmode="auto"` from our Cookiebot script tag removes the bug. Thus my assumption that Cookiebot is somehow reponsible for the bug.
Here's the buggy behavior:
Here's expected behavior:
Here's a repository that I made where you can reproduce the bug on your own: https://github.com/angelikatyborska/cookiebot-breaks-draftjs
We tried a few different browsers and the bug appears in:
- Firefox on macOS, Android 8, desktop Linux, and iOS
- Safari on macOS, and iOS
- Chrome on Android 8
The bug does NOT appear on Chrome macOS or desktop Linux.
Is Cookiebot in auto blockingmode doing anything that might have such global effects? It looks to me like selecting text doesn't work properly.
Please sign in to leave a comment.