harmony 鸿蒙ArkUI Subsystem Changelog

  • 2023-10-30
  • 浏览 (230)

ArkUI Subsystem Changelog

cl.arkui.1 Change in Processing for When scrollBar of the <List> Component Is Set to undefined or an Invalid Value

Change Impact

In versions earlier than OpenHarmony_4.0.10.1, the following values evaluate to BarState.Off: scrollBar(undefined), scrollBar(‘aaa’), scrollBar(-1).

In OpenHarmony_4.0.10.2 and later versions, the preceding values evaluate to the default value BarState.Auto.

Key API/Component Changes

The processing of the <List> component’s scrollBar attribute, when it is set to undefined or an invalid value, is changed from using BarState.Off to using BarState.Auto.

cl.arkui.2 Change in Processing for When scrollBar of the <Grid> Component Is Set to undefined or an Invalid Value

Change Impact

In versions earlier than OpenHarmony_4.0.10.1, the following values evaluate to the default value BarState.Off: scrollBar(undefined), scrollBar(‘aaa’), scrollBar(-1).

In OpenHarmony_4.0.10.2 and later versions, the preceding values evaluate to BarState.Auto.

Key API/Component Changes

The processing of the <Grid> component’s scrollBar attribute, when it is set to undefined or an invalid value, is changed from using BarState.Off to using BarState.Auto.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Bundle Management Subsystem Changelog

harmony 鸿蒙Multimedia Subsystem Changelog

harmony 鸿蒙Network Management Subsystem Changelog

harmony 鸿蒙Time Subsystem Changelog

0  赞