1e41f4b71Sopenharmony_ci# ArkUI Subsystem Changelog 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci## cl.arkui.1 Change in the Default Background Effect of Menus 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci**Access Level** 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ciPublic 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci**Reason for Change** 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ciThe change is made to enhance visual effects. 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci**Change Impact** 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ciThis change is a compatible change. 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ciIn unified rendering mode, the default background of the menu is changed to a blur material. 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ci**API Level** 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci11 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci**Change Since** 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ci**Key API/Component Changes** 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci**bindMenu**, **bindContextMenu**, **<\Select>**, **<\Navigation>** 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ci- Before change: The menu background is in white by default and does not support blur styles. 32e41f4b71Sopenharmony_ci- After change: By default, the menu background is transparent with a blur style applied. You can configure the background color and blur style for **bindMenu** and **bindContextMenu**. 33e41f4b71Sopenharmony_ci 34e41f4b71Sopenharmony_ci**Adaptation Guide** 35e41f4b71Sopenharmony_ci 36e41f4b71Sopenharmony_ciExample of removing a blur style from **bindMenu** or **bindContextMenu**: 37e41f4b71Sopenharmony_ci```ts 38e41f4b71Sopenharmony_ci@Entry 39e41f4b71Sopenharmony_ci@Component 40e41f4b71Sopenharmony_cistruct Index { 41e41f4b71Sopenharmony_ci @State message: string = 'Custom menu'; 42e41f4b71Sopenharmony_ci 43e41f4b71Sopenharmony_ci @Builder 44e41f4b71Sopenharmony_ci MenuBuilder() { 45e41f4b71Sopenharmony_ci Menu() { 46e41f4b71Sopenharmony_ci MenuItem({ content: "item00" }) 47e41f4b71Sopenharmony_ci MenuItem({ content: "item11" }) 48e41f4b71Sopenharmony_ci } 49e41f4b71Sopenharmony_ci } 50e41f4b71Sopenharmony_ci 51e41f4b71Sopenharmony_ci @Builder 52e41f4b71Sopenharmony_ci ContextMenuBuilder() { 53e41f4b71Sopenharmony_ci Menu() { 54e41f4b71Sopenharmony_ci MenuItem({ content: "item22" }) 55e41f4b71Sopenharmony_ci MenuItem({ content: "item33" }) 56e41f4b71Sopenharmony_ci } 57e41f4b71Sopenharmony_ci } 58e41f4b71Sopenharmony_ci 59e41f4b71Sopenharmony_ci build() { 60e41f4b71Sopenharmony_ci Row() { 61e41f4b71Sopenharmony_ci Column() { 62e41f4b71Sopenharmony_ci Text(this.message) 63e41f4b71Sopenharmony_ci .fontSize(50) 64e41f4b71Sopenharmony_ci .fontWeight(FontWeight.Bold) 65e41f4b71Sopenharmony_ci .fontColor('black') 66e41f4b71Sopenharmony_ci .bindMenu(this.MenuBuilder(), { backgroundColor: Color.White, backgroundBlurStyle: BlurStyle.NONE }) 67e41f4b71Sopenharmony_ci .bindContextMenu(this.ContextMenuBuilder(), ResponseType.LongPress, { 68e41f4b71Sopenharmony_ci backgroundColor: Color.White, 69e41f4b71Sopenharmony_ci backgroundBlurStyle: BlurStyle.NONE 70e41f4b71Sopenharmony_ci }) 71e41f4b71Sopenharmony_ci } 72e41f4b71Sopenharmony_ci .width('100%') 73e41f4b71Sopenharmony_ci } 74e41f4b71Sopenharmony_ci .height('100%').backgroundColor(Color.Orange) 75e41f4b71Sopenharmony_ci } 76e41f4b71Sopenharmony_ci} 77e41f4b71Sopenharmony_ci``` 78e41f4b71Sopenharmony_ciBefore change: 79e41f4b71Sopenharmony_ci```ts 80e41f4b71Sopenharmony_ci.bindMenu(this.MenuBuilder()) 81e41f4b71Sopenharmony_ci.bindContextMenu(this.ContextMenuBuilder(), ResponseType.LongPress) 82e41f4b71Sopenharmony_ci``` 83e41f4b71Sopenharmony_ciAfter change: 84e41f4b71Sopenharmony_ci```ts 85e41f4b71Sopenharmony_ci.bindMenu(this.MenuBuilder(), { backgroundColor: Color.White, backgroundBlurStyle: BlurStyle.NONE }) 86e41f4b71Sopenharmony_ci.bindContextMenu(this.ContextMenuBuilder(), ResponseType.LongPress, { backgroundColor: Color.White, backgroundBlurStyle: BlurStyle.NONE }) 87e41f4b71Sopenharmony_ci``` 88e41f4b71Sopenharmony_ciAs shown in the preceding example, you can manually set the enumerated values of the background color and blur style. 89e41f4b71Sopenharmony_ci 90e41f4b71Sopenharmony_ci 91e41f4b71Sopenharmony_ci 92e41f4b71Sopenharmony_ci## cl.arkui.2 New Sheet Types 93e41f4b71Sopenharmony_ci 94e41f4b71Sopenharmony_ci**Access Level** 95e41f4b71Sopenharmony_ci 96e41f4b71Sopenharmony_ciPublic 97e41f4b71Sopenharmony_ci 98e41f4b71Sopenharmony_ci**Reason for Change** 99e41f4b71Sopenharmony_ci 100e41f4b71Sopenharmony_ciThe change is made to enhance visual effects. 101e41f4b71Sopenharmony_ci 102e41f4b71Sopenharmony_ci**Change Impact** 103e41f4b71Sopenharmony_ci 104e41f4b71Sopenharmony_ciThis change is a compatible change. 105e41f4b71Sopenharmony_ci 106e41f4b71Sopenharmony_cia. When the device width is less than 600 vp, the sheet is presented as a bottom sheet by default. 107e41f4b71Sopenharmony_ci 108e41f4b71Sopenharmony_cib. When the device width is in the 600-840 vp range, the sheet is presented as a center sheet by default. 109e41f4b71Sopenharmony_ci 110e41f4b71Sopenharmony_cic. When the device width is greater than 840 vp, the sheet is presented as a popup sheet by default, displayed under the node bound to through **bindSheet**. 111e41f4b71Sopenharmony_ci 112e41f4b71Sopenharmony_ciBefore change: The sheet is presented as a bottom sheet on all devices. 113e41f4b71Sopenharmony_ci 114e41f4b71Sopenharmony_ci 115e41f4b71Sopenharmony_ci 116e41f4b71Sopenharmony_ciAfter change: The sheet can also be presented as a center or popup sheet. Below shows a center sheet. 117e41f4b71Sopenharmony_ci 118e41f4b71Sopenharmony_ci 119e41f4b71Sopenharmony_ci 120e41f4b71Sopenharmony_ciBelow shows a popup sheet. 121e41f4b71Sopenharmony_ci 122e41f4b71Sopenharmony_ci 123e41f4b71Sopenharmony_ci 124e41f4b71Sopenharmony_ci**API Level** 125e41f4b71Sopenharmony_ci 126e41f4b71Sopenharmony_ci11 127e41f4b71Sopenharmony_ci 128e41f4b71Sopenharmony_ci**Change Since** 129e41f4b71Sopenharmony_ci 130e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2 131e41f4b71Sopenharmony_ci 132e41f4b71Sopenharmony_ci**Key API/Component Changes** 133e41f4b71Sopenharmony_ci 134e41f4b71Sopenharmony_cibindSheet 135e41f4b71Sopenharmony_ci 136e41f4b71Sopenharmony_ci**Adaptation Guide** 137e41f4b71Sopenharmony_ci 138e41f4b71Sopenharmony_ciFor a device whose width is greater than 840 vp, to display a center sheet, set **preferType** in **SheetOptions** to **SheetType.CENTER**. 139e41f4b71Sopenharmony_ci 140e41f4b71Sopenharmony_ci 141e41f4b71Sopenharmony_ci 142e41f4b71Sopenharmony_ci## cl.arkui.3 Change in the Style of the Bottom Sheet 143e41f4b71Sopenharmony_ci 144e41f4b71Sopenharmony_ci**Access Level** 145e41f4b71Sopenharmony_ci 146e41f4b71Sopenharmony_ciPublic 147e41f4b71Sopenharmony_ci 148e41f4b71Sopenharmony_ci**Reason for Change** 149e41f4b71Sopenharmony_ci 150e41f4b71Sopenharmony_ciThe change is made to enhance visual effects. 151e41f4b71Sopenharmony_ci 152e41f4b71Sopenharmony_ci**Change Impact** 153e41f4b71Sopenharmony_ci 154e41f4b71Sopenharmony_ciThis change is a compatible change. 155e41f4b71Sopenharmony_ci 156e41f4b71Sopenharmony_cia. With **SheetSize** in **SheetOptions** of the bottom sheet set to **Medium**, the sheet height is the screen height multiplied by 0.6. 157e41f4b71Sopenharmony_ci 158e41f4b71Sopenharmony_ciBefore change: 159e41f4b71Sopenharmony_ci 160e41f4b71Sopenharmony_ci 161e41f4b71Sopenharmony_ci 162e41f4b71Sopenharmony_ciAfter change: 163e41f4b71Sopenharmony_ci 164e41f4b71Sopenharmony_ci 165e41f4b71Sopenharmony_ci 166e41f4b71Sopenharmony_ci 167e41f4b71Sopenharmony_ci 168e41f4b71Sopenharmony_cib. The **FIT_CONTENT** option is added to **SheetSize** in **SheetOptions** for the bottom sheet. This option enables the sheet to adapt its height based on the content. 169e41f4b71Sopenharmony_ci 170e41f4b71Sopenharmony_ciBefore change: 171e41f4b71Sopenharmony_ci 172e41f4b71Sopenharmony_ci 173e41f4b71Sopenharmony_ci 174e41f4b71Sopenharmony_ciAfter change: 175e41f4b71Sopenharmony_ci 176e41f4b71Sopenharmony_ci 177e41f4b71Sopenharmony_ci 178e41f4b71Sopenharmony_cic. You can use **detents** in **SheetOptions** to specify an array of heights where the sheet can rest. This attribute takes effect only for the bottom sheet in portrait mode. 179e41f4b71Sopenharmony_ci 180e41f4b71Sopenharmony_ciBefore change: The sheet cannot rest at different heights. 181e41f4b71Sopenharmony_ci 182e41f4b71Sopenharmony_ciAfter change: 183e41f4b71Sopenharmony_ci 184e41f4b71Sopenharmony_ci 185e41f4b71Sopenharmony_ci 186e41f4b71Sopenharmony_cid. When the device is in landscape mode, the bottom sheet supports only one detent - 8 vp away from the top of the screen. 187e41f4b71Sopenharmony_ci 188e41f4b71Sopenharmony_ciBefore change: The detent specifications of the bottom sheet in landscape mode are the same as those in portrait mode. 189e41f4b71Sopenharmony_ci 190e41f4b71Sopenharmony_ciAfter change: 191e41f4b71Sopenharmony_ci 192e41f4b71Sopenharmony_ci 193e41f4b71Sopenharmony_ci 194e41f4b71Sopenharmony_cie. When the height of the content area builder is set to a percentage, the percentage is based on the height set or the value of **detents**, not the screen height. 195e41f4b71Sopenharmony_ci 196e41f4b71Sopenharmony_ci**API Level** 197e41f4b71Sopenharmony_ci 198e41f4b71Sopenharmony_ci11 199e41f4b71Sopenharmony_ci 200e41f4b71Sopenharmony_ci**Change Since** 201e41f4b71Sopenharmony_ci 202e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2 203e41f4b71Sopenharmony_ci 204e41f4b71Sopenharmony_ci**Key API/Component Changes** 205e41f4b71Sopenharmony_ci 206e41f4b71Sopenharmony_cibindSheet 207e41f4b71Sopenharmony_ci 208e41f4b71Sopenharmony_ci**Adaptation Guide** 209e41f4b71Sopenharmony_ci 210e41f4b71Sopenharmony_cia. When **detents** in **SheetOptions** is set, the first height in the tuple is the initial height. 211e41f4b71Sopenharmony_ci 212e41f4b71Sopenharmony_cib. When **detents** is set in **SheetOptions**, the **height** attribute does not take effect. 213e41f4b71Sopenharmony_ci 214e41f4b71Sopenharmony_cic. When **height** is set to a custom height or **FIT_CONTENT**, the maximum height is used if the height set is greater than the maximum height or less than **0**. 215e41f4b71Sopenharmony_ci 216e41f4b71Sopenharmony_ci 217e41f4b71Sopenharmony_ci 218e41f4b71Sopenharmony_ci## cl.arkui.4 Addition of the Center and PopUp Sheet Types 219e41f4b71Sopenharmony_ci 220e41f4b71Sopenharmony_ci**Access Level** 221e41f4b71Sopenharmony_ci 222e41f4b71Sopenharmony_ciPublic 223e41f4b71Sopenharmony_ci 224e41f4b71Sopenharmony_ci**Reason for Change** 225e41f4b71Sopenharmony_ci 226e41f4b71Sopenharmony_ciThe change is made to enhance visual effects. 227e41f4b71Sopenharmony_ci 228e41f4b71Sopenharmony_ci**Change Impact** 229e41f4b71Sopenharmony_ci 230e41f4b71Sopenharmony_ciThis change is a compatible change. 231e41f4b71Sopenharmony_ci 232e41f4b71Sopenharmony_cia. The default width and height of the center sheet are 480 vp and 560 vp, respectively. 233e41f4b71Sopenharmony_ci 234e41f4b71Sopenharmony_cib. If a center sheet has fixed content, you can customize its height, 320 vp at minimum and length of the shorter edge of the device multiplied by 0.9 at maximum. 235e41f4b71Sopenharmony_ci 236e41f4b71Sopenharmony_cic. The center sheet does not resize when switched between landscape and portrait modes. 237e41f4b71Sopenharmony_ci 238e41f4b71Sopenharmony_cid. The default width and height of the popup sheet are 360 vp and 560 vp, respectively. 239e41f4b71Sopenharmony_ci 240e41f4b71Sopenharmony_cie. If a popup sheet has fixed content, you can customize its height, 320 vp at minimum and length of the shorter edge of the device multiplied by 0.9 at maximum. 241e41f4b71Sopenharmony_ci 242e41f4b71Sopenharmony_ci**API Level** 243e41f4b71Sopenharmony_ci 244e41f4b71Sopenharmony_ci11 245e41f4b71Sopenharmony_ci 246e41f4b71Sopenharmony_ci**Change Since** 247e41f4b71Sopenharmony_ci 248e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2 249e41f4b71Sopenharmony_ci 250e41f4b71Sopenharmony_ci**Key API/Component Changes** 251e41f4b71Sopenharmony_ci 252e41f4b71Sopenharmony_cibindSheet 253e41f4b71Sopenharmony_ci 254e41f4b71Sopenharmony_ci**Adaptation Guide** 255e41f4b71Sopenharmony_ci 256e41f4b71Sopenharmony_ciWhen **height** is set to a custom height or **FIT_CONTENT**, the maximum height is used if the height set is greater than the maximum height; the minimum height is used if the height set is less than the minimum height; the default height is used if the height set is a negative value. 257e41f4b71Sopenharmony_ci 258e41f4b71Sopenharmony_ci 259e41f4b71Sopenharmony_ci 260e41f4b71Sopenharmony_ci## cl.arkui.5 Change in the Sheet Operation Area 261e41f4b71Sopenharmony_ci 262e41f4b71Sopenharmony_ci**Access Level** 263e41f4b71Sopenharmony_ci 264e41f4b71Sopenharmony_ciPublic 265e41f4b71Sopenharmony_ci 266e41f4b71Sopenharmony_ci**Reason for Change** 267e41f4b71Sopenharmony_ci 268e41f4b71Sopenharmony_ciThe change is made to enhance visual effects. 269e41f4b71Sopenharmony_ci 270e41f4b71Sopenharmony_ci**Change Impact** 271e41f4b71Sopenharmony_ci 272e41f4b71Sopenharmony_ciThis change is a compatible change. 273e41f4b71Sopenharmony_ci 274e41f4b71Sopenharmony_cia. A title area is added to accommodate the title specified in **SheetOptions**. This area is 56 vp high for a single-line or custom title and 72 vp high for a double-line title. 275e41f4b71Sopenharmony_ci 276e41f4b71Sopenharmony_ciBefore change: There is no title area on the sheet. 277e41f4b71Sopenharmony_ci 278e41f4b71Sopenharmony_ci 279e41f4b71Sopenharmony_ci 280e41f4b71Sopenharmony_ciAfter change: The title area is displayed on the sheet as needed. 281e41f4b71Sopenharmony_ci 282e41f4b71Sopenharmony_ci 283e41f4b71Sopenharmony_ci 284e41f4b71Sopenharmony_cib. You can specify whether to show a close icon through **showClose** in **SheetOptions**. By default, the icon is displayed. 285e41f4b71Sopenharmony_ci 286e41f4b71Sopenharmony_ciBefore change: The sheet does not have a close icon. 287e41f4b71Sopenharmony_ci 288e41f4b71Sopenharmony_ciAfter change: The sheet shows a close icon by default. 289e41f4b71Sopenharmony_ci 290e41f4b71Sopenharmony_cic. The size of the drag bar is changed to 48 x 4 vp. The drag bar is not displayed when sheet has only one detent and is displayed by default when sheet has multiple detents. 291e41f4b71Sopenharmony_ci 292e41f4b71Sopenharmony_ciBefore change: The drag bar is displayed by default, with a size of 28 x 4 vp. 293e41f4b71Sopenharmony_ci 294e41f4b71Sopenharmony_ciAfter change: The drag bar is displayed by default only for the bottom sheet that has multiple detents, at a size of 48 x 4 vp. 295e41f4b71Sopenharmony_ci 296e41f4b71Sopenharmony_cid. The drag bar does not move slightly in the x or y direction when dragged. 297e41f4b71Sopenharmony_ci 298e41f4b71Sopenharmony_ciBefore change: The drag bar moves slightly in the x and y directions when dragged. 299e41f4b71Sopenharmony_ci 300e41f4b71Sopenharmony_ciAfter change: The drag bar does not move slightly in the x or y direction when dragged. 301e41f4b71Sopenharmony_ci 302e41f4b71Sopenharmony_ci**API Level** 303e41f4b71Sopenharmony_ci 304e41f4b71Sopenharmony_ci11 305e41f4b71Sopenharmony_ci 306e41f4b71Sopenharmony_ci**Change Since** 307e41f4b71Sopenharmony_ci 308e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2 309e41f4b71Sopenharmony_ci 310e41f4b71Sopenharmony_ci**Key API/Component Changes** 311e41f4b71Sopenharmony_ci 312e41f4b71Sopenharmony_cibindSheet 313e41f4b71Sopenharmony_ci 314e41f4b71Sopenharmony_ci**Adaptation Guide** 315e41f4b71Sopenharmony_ci 316e41f4b71Sopenharmony_ciNone. 317e41f4b71Sopenharmony_ci 318e41f4b71Sopenharmony_ci 319e41f4b71Sopenharmony_ci 320e41f4b71Sopenharmony_ci## cl.arkui.6 Change in the Interaction with the Sheet Content Area 321e41f4b71Sopenharmony_ci 322e41f4b71Sopenharmony_ci**Access Level** 323e41f4b71Sopenharmony_ci 324e41f4b71Sopenharmony_ciPublic 325e41f4b71Sopenharmony_ci 326e41f4b71Sopenharmony_ci**Reason for Change** 327e41f4b71Sopenharmony_ci 328e41f4b71Sopenharmony_ciThe change is made to enhance the interaction experience. 329e41f4b71Sopenharmony_ci 330e41f4b71Sopenharmony_ci**Change Impact** 331e41f4b71Sopenharmony_ci 332e41f4b71Sopenharmony_ciThis change is a compatible change. 333e41f4b71Sopenharmony_ci 334e41f4b71Sopenharmony_cia. With a bottom sheet that has its content displayed on the top, swiping up expands the sheet (if multiple detents are available) or scrolls the content; swiping down shrinks (if multiple detents are available) or closes the sheet. 335e41f4b71Sopenharmony_ci 336e41f4b71Sopenharmony_cib. With a bottom sheet that has its content displayed at the bottom, swiping up produces a bounce effect in the content area, without switching the sheet between detents; swiping down scrolls the content until it reaches the top. 337e41f4b71Sopenharmony_ci 338e41f4b71Sopenharmony_cic. With a bottom, center, or popup sheet that has its content displayed in the center, swiping up or down scrolls the content until it reaches the bottom or top, without switching the sheet between detents. 339e41f4b71Sopenharmony_ci 340e41f4b71Sopenharmony_cid. With a center sheet that has its content displayed on the top, swiping down closes the sheet; swiping up scrolls the content. With a center sheet that has its content displayed at the bottom, swiping up produces a bounce effect in the content area; swiping down scrolls the content. 341e41f4b71Sopenharmony_ci 342e41f4b71Sopenharmony_cie. With a popup sheet that has its content displayed on the top, swiping down does not close the sheet; swiping up scrolls the content. With a popup sheet that has its content displayed at the bottom, swiping up produces a bounce effect in the content area; swiping down scrolls the content. 343e41f4b71Sopenharmony_ci 344e41f4b71Sopenharmony_ciBefore change: The sheet does not interact when users swipe up or down on it. 345e41f4b71Sopenharmony_ci 346e41f4b71Sopenharmony_ciAfter change: 347e41f4b71Sopenharmony_ci 348e41f4b71Sopenharmony_ci 349e41f4b71Sopenharmony_ci 350e41f4b71Sopenharmony_ci**API Level** 351e41f4b71Sopenharmony_ci 352e41f4b71Sopenharmony_ci11 353e41f4b71Sopenharmony_ci 354e41f4b71Sopenharmony_ci**Change Since** 355e41f4b71Sopenharmony_ci 356e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2 357e41f4b71Sopenharmony_ci 358e41f4b71Sopenharmony_ci**Key API/Component Changes** 359e41f4b71Sopenharmony_ci 360e41f4b71Sopenharmony_cibindSheet 361e41f4b71Sopenharmony_ci 362e41f4b71Sopenharmony_ci**Adaptation Guide** 363e41f4b71Sopenharmony_ci 364e41f4b71Sopenharmony_ciNone. 365e41f4b71Sopenharmony_ci 366e41f4b71Sopenharmony_ci 367e41f4b71Sopenharmony_ci 368e41f4b71Sopenharmony_ci## cl.arkui.7 Change in the Interaction with the Sheet Title Area 369e41f4b71Sopenharmony_ci 370e41f4b71Sopenharmony_ci**Access Level** 371e41f4b71Sopenharmony_ci 372e41f4b71Sopenharmony_ciPublic 373e41f4b71Sopenharmony_ci 374e41f4b71Sopenharmony_ci**Reason for Change** 375e41f4b71Sopenharmony_ci 376e41f4b71Sopenharmony_ciThe change is made to enhance the interaction experience. 377e41f4b71Sopenharmony_ci 378e41f4b71Sopenharmony_ci**Change Impact** 379e41f4b71Sopenharmony_ci 380e41f4b71Sopenharmony_ciThis change is a compatible change. 381e41f4b71Sopenharmony_ci 382e41f4b71Sopenharmony_cia. Swiping up in the title area of a bottom sheet switches the sheet to the adjacent larger detent; dragging up the title area switches the sheet straight to the largest detent; if the sheet is already at its largest detent, it produces a bounce effect. 383e41f4b71Sopenharmony_ci 384e41f4b71Sopenharmony_cib.Swiping down in the title area of a bottom sheet switches the sheet to the adjacent smaller detent; dragging down the title area switches the sheet across detents and even closes it. 385e41f4b71Sopenharmony_ci 386e41f4b71Sopenharmony_cic. Swiping up in the title area of a center sheet produces a bounce effect; swiping down with a velocity lower than the threshold also produces a bounce effect; dragging down or swiping down with a velocity higher than the threshold closes the sheet. 387e41f4b71Sopenharmony_ci 388e41f4b71Sopenharmony_ciBefore change: Interaction in the title area triggers only the dismiss event. 389e41f4b71Sopenharmony_ci 390e41f4b71Sopenharmony_ciAfter change: 391e41f4b71Sopenharmony_ci 392e41f4b71Sopenharmony_ci 393e41f4b71Sopenharmony_ci 394e41f4b71Sopenharmony_ci**API Level** 395e41f4b71Sopenharmony_ci 396e41f4b71Sopenharmony_ci11 397e41f4b71Sopenharmony_ci 398e41f4b71Sopenharmony_ci**Change Since** 399e41f4b71Sopenharmony_ci 400e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2 401e41f4b71Sopenharmony_ci 402e41f4b71Sopenharmony_ci**Key API/Component Changes** 403e41f4b71Sopenharmony_ci 404e41f4b71Sopenharmony_cibindSheet 405e41f4b71Sopenharmony_ci 406e41f4b71Sopenharmony_ci**Adaptation Guide** 407e41f4b71Sopenharmony_ci 408e41f4b71Sopenharmony_ciNone. 409e41f4b71Sopenharmony_ci 410e41f4b71Sopenharmony_ci**Example** 411e41f4b71Sopenharmony_ci 412e41f4b71Sopenharmony_ciSee the preceding example after change. 413e41f4b71Sopenharmony_ci 414e41f4b71Sopenharmony_ci 415e41f4b71Sopenharmony_ci 416e41f4b71Sopenharmony_ci 417e41f4b71Sopenharmony_ci 418e41f4b71Sopenharmony_ci## cl.arkui.8 Change in Modes for Dismissing a Sheet 419e41f4b71Sopenharmony_ci 420e41f4b71Sopenharmony_ci**Access Level** 421e41f4b71Sopenharmony_ci 422e41f4b71Sopenharmony_ciPublic 423e41f4b71Sopenharmony_ci 424e41f4b71Sopenharmony_ci**Reason for Change** 425e41f4b71Sopenharmony_ci 426e41f4b71Sopenharmony_ciThe change is made to enhance the interaction experience. 427e41f4b71Sopenharmony_ci 428e41f4b71Sopenharmony_ci**Change Impact** 429e41f4b71Sopenharmony_ci 430e41f4b71Sopenharmony_ciThis change is a compatible change. 431e41f4b71Sopenharmony_ci 432e41f4b71Sopenharmony_cia. A sheet can be dismissed by touching the mask. By default, the bottom and center sheets have a mask, and the popup sheet has no mask. 433e41f4b71Sopenharmony_ci 434e41f4b71Sopenharmony_ciBefore change: By default, the sheet has no mask, and users cannot dismiss the sheet by touching the mask. 435e41f4b71Sopenharmony_ci 436e41f4b71Sopenharmony_ciAfter change: 437e41f4b71Sopenharmony_ci 438e41f4b71Sopenharmony_ci 439e41f4b71Sopenharmony_ci 440e41f4b71Sopenharmony_cib. A sheet can be dismissed by touching the close icon. 441e41f4b71Sopenharmony_ci 442e41f4b71Sopenharmony_cic. A bottom or center sheet can be dismissed by a pull-down gesture. 443e41f4b71Sopenharmony_ci 444e41f4b71Sopenharmony_ciBefore change: All sheets can be dismissed by a pull-down gesture. 445e41f4b71Sopenharmony_ci 446e41f4b71Sopenharmony_ciAfter change: Only the bottom and center sheets can be dismissed by a pull-down gesture. 447e41f4b71Sopenharmony_ci 448e41f4b71Sopenharmony_cid. The **shouldDismiss** callback is added to **SheetOptions**. With the callback registered, when the user attempts to dismiss the sheet by a pull-down gesture or clicking the back button, the mask, or the close icon, the sheet is not dismissed immediately. 449e41f4b71Sopenharmony_ci 450e41f4b71Sopenharmony_ciBefore change: If the dismiss event is triggered, the sheet is dismissed immediately. 451e41f4b71Sopenharmony_ci 452e41f4b71Sopenharmony_ciAfter change: With the **shouldDismiss** callback registered, when the user attempts to dismiss the sheet, the sheet is not dismissed immediately. 453e41f4b71Sopenharmony_ci 454e41f4b71Sopenharmony_ci 455e41f4b71Sopenharmony_ci 456e41f4b71Sopenharmony_ci**API Level** 457e41f4b71Sopenharmony_ci 458e41f4b71Sopenharmony_ci11 459e41f4b71Sopenharmony_ci 460e41f4b71Sopenharmony_ci**Change Since** 461e41f4b71Sopenharmony_ci 462e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2 463e41f4b71Sopenharmony_ci 464e41f4b71Sopenharmony_ci**Key API/Component Changes** 465e41f4b71Sopenharmony_ci 466e41f4b71Sopenharmony_cibindSheet 467e41f4b71Sopenharmony_ci 468e41f4b71Sopenharmony_ci**Adaptation Guide** 469e41f4b71Sopenharmony_ci 470e41f4b71Sopenharmony_ciNone. 471e41f4b71Sopenharmony_ci 472e41f4b71Sopenharmony_ci## cl.arkui.9 Change in the \<Select> Component 473e41f4b71Sopenharmony_ci 474e41f4b71Sopenharmony_ci**Access Level** 475e41f4b71Sopenharmony_ci 476e41f4b71Sopenharmony_ciPublic 477e41f4b71Sopenharmony_ci 478e41f4b71Sopenharmony_ci**Reason for Change** 479e41f4b71Sopenharmony_ci 480e41f4b71Sopenharmony_ciThe change is made to enhance visual effects. 481e41f4b71Sopenharmony_ci 482e41f4b71Sopenharmony_ci**Change Impact** 483e41f4b71Sopenharmony_ci 484e41f4b71Sopenharmony_ciThis change is a compatible change. 485e41f4b71Sopenharmony_ci 486e41f4b71Sopenharmony_ci**API Level** 487e41f4b71Sopenharmony_ci 488e41f4b71Sopenharmony_ci11 489e41f4b71Sopenharmony_ci 490e41f4b71Sopenharmony_ci**Change Since** 491e41f4b71Sopenharmony_ci 492e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2 493e41f4b71Sopenharmony_ci 494e41f4b71Sopenharmony_ci**Key API/Component Changes** 495e41f4b71Sopenharmony_ci 496e41f4b71Sopenharmony_ci\<Select> 497e41f4b71Sopenharmony_ci 498e41f4b71Sopenharmony_ci- Before change: 499e41f4b71Sopenharmony_ci The distance between the drop-down button text and the left boundary and the distance between the arrow icon and the right boundary of the **\<Select>** component are 12 vp. 500e41f4b71Sopenharmony_ci 501e41f4b71Sopenharmony_ci There is a horizontal offset when the drop-down button is aligned with the drop-down list box. 502e41f4b71Sopenharmony_ci 503e41f4b71Sopenharmony_ci The distance between the drop-down button and the drop-down menu is 4 vp. 504e41f4b71Sopenharmony_ci 505e41f4b71Sopenharmony_ci  506e41f4b71Sopenharmony_ci 507e41f4b71Sopenharmony_ci- After change: 508e41f4b71Sopenharmony_ci The distance between the drop-down button text and the left boundary and the distance between the arrow icon and the right boundary of the **\<Select>** component are 16 vp. 509e41f4b71Sopenharmony_ci 510e41f4b71Sopenharmony_ci There is not horizontal offset when the drop-down button is aligned with the drop-down list box. 511e41f4b71Sopenharmony_ci 512e41f4b71Sopenharmony_ci The distance between the drop-down button and the drop-down menu is 8 vp. 513e41f4b71Sopenharmony_ci 514e41f4b71Sopenharmony_ci  515e41f4b71Sopenharmony_ci 516e41f4b71Sopenharmony_ci**Adaptation Guide** 517e41f4b71Sopenharmony_ci 518e41f4b71Sopenharmony_ciNone. 519e41f4b71Sopenharmony_ci 520e41f4b71Sopenharmony_ci 521e41f4b71Sopenharmony_ci 522e41f4b71Sopenharmony_ci## cl.arkui.10 Change in Interaction with the \<Refresh> Component 523e41f4b71Sopenharmony_ci 524e41f4b71Sopenharmony_ci**Access Level** 525e41f4b71Sopenharmony_ci 526e41f4b71Sopenharmony_ciPublic 527e41f4b71Sopenharmony_ci 528e41f4b71Sopenharmony_ci**Reason for Change** 529e41f4b71Sopenharmony_ci 530e41f4b71Sopenharmony_ciPreviously, the **\<Refresh>** component supports the mouse-based drag-down action. This may result in conflicts with the multiselect action in certain scenarios. In addition, the support for the mouse-based drag-down action does not comply with the UX specifications. 531e41f4b71Sopenharmony_ci 532e41f4b71Sopenharmony_ci**Change Impact** 533e41f4b71Sopenharmony_ci 534e41f4b71Sopenharmony_ciThis change is a non-compatible change. After change, the **\<Refresh>** component does not support the mouse-based drag-down action. 535e41f4b71Sopenharmony_ci 536e41f4b71Sopenharmony_ci**API Level** 537e41f4b71Sopenharmony_ci 538e41f4b71Sopenharmony_ci8 539e41f4b71Sopenharmony_ci 540e41f4b71Sopenharmony_ci**Change Since** 541e41f4b71Sopenharmony_ci 542e41f4b71Sopenharmony_ciOpenHarmony SDK 4.1.5.2 543e41f4b71Sopenharmony_ci 544e41f4b71Sopenharmony_ci**Key API/Component Changes** 545e41f4b71Sopenharmony_ci 546e41f4b71Sopenharmony_ciIn versions earlier than API version 11, the **\<Refresh>** component supports the mouse-based drag-down action. 547e41f4b71Sopenharmony_ci 548e41f4b71Sopenharmony_ciIn API version 11 and later versions, the **\<Refresh>** component does not support the mouse-based drag-down action. 549e41f4b71Sopenharmony_ci 550e41f4b71Sopenharmony_ci**Adaptation Guide** 551e41f4b71Sopenharmony_ci 552e41f4b71Sopenharmony_ciNone. 553