From 3b47221d257dece6422c71b6dda619e4f4ba3918 Mon Sep 17 00:00:00 2001 From: Hua Date: Wed, 6 Nov 2019 15:51:01 +0800 Subject: [PATCH] Fix input-event bug in nested container --- src/input/InputPlugin.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/input/InputPlugin.js b/src/input/InputPlugin.js index 4e0fe7a20..af072e1c1 100644 --- a/src/input/InputPlugin.js +++ b/src/input/InputPlugin.js @@ -2658,6 +2658,8 @@ var InputPlugin = new Class({ return indexB - indexA; } } + + return listB.length - listA.length; } // Technically this shouldn't happen, but ...