diff --git a/src/textual/app.py b/src/textual/app.py index e9825a632..d34a26d08 100644 --- a/src/textual/app.py +++ b/src/textual/app.py @@ -1742,9 +1742,10 @@ class App(Generic[ReturnType], DOMNode): bool: True if the key was handled by a binding, otherwise False """ - for namespace, bindings in ( - list(reversed(self._binding_chain)) if priority else self._binding_chain - ): + # for namespace, bindings in ( + # list(reversed(self._binding_chain)) if priority else self._binding_chain + # ): + for namespace, bindings in self._binding_chain: binding = bindings.keys.get(key) if binding is not None and binding.priority == priority: await self.action(binding.action, default_namespace=namespace)