WhileKeyboardVisible on Oreo


I’m getting undesired behaviour related to WhileKeyboardVisible on Android Oreo (Sony Xperia XZ2 Compact), the trigger is somehow always set true and trigger nothing when the keyboard is visible

Below is the screenshot of the preview (which also same on Galaxy A3)


And here is the screenshot on the XZ2 Compact


And here is the snippet of the code

	<Change button.Visibility="Collapsed" />
	<Move Target="nav" RelativeTo="Keyboard" Y=".5" />
	<Move Target="indicator" RelativeTo="Keyboard" Y=".5" />

As you can see, the button only supposed to collapsed when the keyboard is visible

Hello! I have the exact problem on LG G5 (Android 7.0), but only when creating a release build. In preview WhileKeyboardVisible works ok.