Skip to content

splitting with fraction=1.0 has unexpected result #282

@Omustardo

Description

@Omustardo

When creating a split with a fraction of 1.0, the new tab can be placed in an unexpected surface.

Example code: https://gist.github.com/Omustardo/c613f21633fdbf382a6795e05ed55379

Image

I'm not entirely sure what the expected behavior here should be, but the actual behavior was surprising to me. The "Bottom" and "BottomLeft" tabs were placed on top of each other, with the little tab area showing "Bottom" while the tab content showed "LastLeft".

Perhaps there should be a warning when not compiling in release mode? Perhaps it would be worth adding an additional warning to the documentation of the split methods?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions