Closed 0x64 closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 82.50%. Comparing base (
460caec
) to head (5650431
). Report is 13 commits behind head on release/4.9.x.develop.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Checklist
Issue Resolved / Feature Added
The last input type is not recognized properly when
requestLastInputType
is called on some platforms since the function do nothing on unsupported platforms.Resolution
The issue occurs after #3218 that adds
requestLastInputType
. At the moment we added this API, it is unclear that who is in charge of handling unsupported platforms among Enact, theme libraries, and apps. TherequestLastInputType
function's role is simply to call LS2Request so the usage of this API depends on apps' logic. We'd like to remove platform checking and make this function to call LS2Request always. It means that Enact does not involve checking if the platform is supported. So, theme libraries or apps should check the availability.Additional Considerations
On unsupported platforms, LS2Request API covers warnings so
requestLastInputType
does not need to cover the case.Links
WRR-1010 enactjs/sandstone#1682 Related: WRQ-6498 / #3218
Comments
Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)