I have two villagers in my village whose trading windows close immediately after opening, barely a split second passes by. Other villagers are unaffected.
Video of the issue: https://www.youtube.com/watch?v=eskHADjuRCU
Environment
Windows 10, bundled Java runtime
Seems to be changing with time, some affected villagers get fixed and others get broken randomly.