Framework owners running Debian testing: if disable-while-typing is not working, I think this is because the libinput quirks file contains a bug and is using an old key.

In /usr/share/libinput/50-framework.quirks change:

AttrEventCodeDisable=BTN_RIGHT

to

AttrEventCode=-BTN_RIGHT

I can’t say this is definitely the culprit, but DWT is now working for me.

(https://b-ark.ca/mmGMiQ)