I don’t get any such error. Can you reproduce this issue for me, perhaps on a codepen?
You can fork this to start.