Skip to content

FlexboxLayoutManager does not handle Views without baselines well #388

Open
@dlew

Description

@dlew

Issues and steps to reproduce

  1. Create a FlexboxLayoutManager with alignItems = AlignItems.BASELINE`
  2. Use it on a RecyclerView that needs to wrap at least one line.
  3. Repeatedly call notifyDatasetChanged()

Expected behavior

Just calling notifyDatasetChanged() should do nothing if none of the data changes.

Instead, the views keep moving around!

screencast-genymotion-2017-12-07_11 14 42 395

Version of the flexbox library

0.3.1

Link to code

FlexBug.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions