1#  ArkUI Subsystem Changelog
2
3## cl.arkui.1 Change to the padding API of the \<Flex> Component
4
5**Access Level**
6
7Public
8
9**Reason for Change**
10
11In previous versions, there is a sudden change of the child components in the **\<Flex>** container as its paddings along the main or cross axis increase to such an extent that the container width is exceeded.
12
13**Change Impact**
14
15This change is a compatible change.
16
17Before change: When the container's paddings gradually increase along the main axis, the child components suddenly move rightward once the container width is exceeded. (The same applies to padding increase along the cross axis.)
18
19Before change: When the container's paddings gradually increase along the main axis, the child components gradually move rightward until they disappear as the container width is exceeded. (The same applies to padding increase along the cross axis.)
20
21**Change Since**
22
23OpenHarmony SDK 4.1.2.5
24
25**Key API/Component Changes**
26
27**\<Flex>** component
28
29**Adaptation Guide**
30
31If the sum of paddings does not cause the width or height of the component to be exceeded, no adaptation is required. Since API version 11, if the child components become invisible due to excessively large paddings, maintain the same effect for padding increase.
32