1e41f4b71Sopenharmony_ci# ArkUI Subsystem Changelog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## cl.arkui.1 Default Curve Parameter Change for Swiper Component
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci**Access Level**
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciOther
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Reason for Change**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciSpecification optimization.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**Change Impact**
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciWhen the **curve** parameter is not set for the **Swiper** component, the default curve changes from **Linear** to **interpolatingSpring(-1,1,328,34)**.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci**API Level**
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci8
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci**Change Since**
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ciOpenHarmony SDK 5.0.0.16
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci**Key API/Component Changes**
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ciAffected component: **Swiper**
28e41f4b71Sopenharmony_ciBefore change: The default curve for **Swiper** was **Linear**.
29e41f4b71Sopenharmony_ciAfter change: The default curve for **Swiper** is **interpolatingSpring(-1,1,328,34)**.
30e41f4b71Sopenharmony_ci
31e41f4b71Sopenharmony_ci![Example of Swiper Curve Change](figures/curveDiff.gif)
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ci**Adaptation Guide**
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ciThe default behavior has changed, no adaptation is needed, but you should ensure that the new default effect meets expectations. If it does not, custom modifications to the effect control variables should be made to achieve the desired outcome.
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ci## cl.arkui.2 Attribute Change When Component Size Is Not Set and Margin Exceeds Component Size
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ci**Access Level**
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ciPublic API
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ci**Reason for Change**
44e41f4b71Sopenharmony_ci
45e41f4b71Sopenharmony_ciWhen the component's width and height are not set and the margin exceeds the component's size, it will compress the component's size to zero.
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ci**Change Impact**
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ciThis change is non-compatible.
50e41f4b71Sopenharmony_ci
51e41f4b71Sopenharmony_ciBefore the change in API version 12, when the component's width and height were not set, and the set margin exceeded the component's size, the compression did not take effect, and the component maintained its original size.
52e41f4b71Sopenharmony_ci
53e41f4b71Sopenharmony_ciAfter the change in API version 12, when the component's width and height are not set, and the set margin exceeds the component's size, the compression takes effect, and the component's width and height are compressed to zero.
54e41f4b71Sopenharmony_ci
55e41f4b71Sopenharmony_ci**Start API Level**
56e41f4b71Sopenharmony_ci
57e41f4b71Sopenharmony_ci9
58e41f4b71Sopenharmony_ci
59e41f4b71Sopenharmony_ci**Change Since**
60e41f4b71Sopenharmony_ci
61e41f4b71Sopenharmony_ciOpenHarmony SDK 5.0.0.16
62e41f4b71Sopenharmony_ci
63e41f4b71Sopenharmony_ci**Key API/Component Changes**
64e41f4b71Sopenharmony_ci
65e41f4b71Sopenharmony_ciComponents with overly large margins
66e41f4b71Sopenharmony_ci
67e41f4b71Sopenharmony_ci**Adaptation Guide**
68e41f4b71Sopenharmony_ci
69e41f4b71Sopenharmony_ciReduce the margin appropriately so that the component can be displayed, or set the width and height of the component so that its size is not affected by the margin.