Tangram-iOS icon indicating copy to clipboard operation
Tangram-iOS copied to clipboard

Fix issues for fix-layout, sticky-layout, floating-layout and width calculation

Open sueLan opened this issue 3 years ago • 1 comments

Fix issues:

  1. support define width as -1; as it is equal to the width of the screen
  2. views with fix-layout, sticky layout or floating layout should stay sticky on the screen when scrolling3

Before Fixing:

Fix Layout

When scrolling, the view in red keep shaking and won't be sticky on the screen. ezgif com-gif-maker

Sticky layout

The view with sticky layout keeps jumping

stiky-before

Floating layout

Floating view can stay where it should be steadily

floating-layout

After fixing:

Views with these 3 layouts stay stickily on the screen when scrolling

fix

sueLan avatar May 27 '21 04:05 sueLan

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 27 '21 04:05 CLAassistant