While trying to break a block with any sword in creative mode, you can't move properly. It doesn't work in survival mode, so it probably has to do something with being unable to break the block.
Linked issues
Comments

While trying to break a block with any sword in creative mode, you can't move properly. It doesn't work in survival mode, so it probably has to do something with being unable to break the block.
migrated
(Unassigned)
Unconfirmed
(Unassigned)
20w06a
Retrieved
Probably a dupe of MC-157436