Allow overflow scroll to clip the view instead of let it be visible
Summary: When the overflow style set to 'scroll', React ViewGroup does nothing to the container. Instead it should be clipped just like hidden. Changelog: [Android][Changed] - Setting `overflow: scroll` in View component style will clip the children in the View container Reviewed By: javache Differential Revision: D31350605 fbshipit-source-id: e0d618f5e872fec9cf9ecb2d4cfe7af9a2f3c063
This commit is contained in:
Родитель
36f3bf2f58
Коммит
93beb83abe
|
@ -786,6 +786,7 @@ public class ReactViewGroup extends ViewGroup
|
|||
}
|
||||
break;
|
||||
case ViewProps.HIDDEN:
|
||||
case ViewProps.SCROLL:
|
||||
float left = 0f;
|
||||
float top = 0f;
|
||||
float right = getWidth();
|
||||
|
|
Загрузка…
Ссылка в новой задаче