Thanks for your feedback.
I checked for conflicts and JavaScript errors, all sounds good.
When Yoast SEO is disabled, the issue doesn’t persist.
There is a difference between the 7.3 version code and 7.4, that is the line 44, indeed. With the 7.3 version we didn’t have any issue.