Skip to content

Conversation

@youknowriad
Copy link
Contributor

@youknowriad youknowriad commented Mar 2, 2017

This PR seeks to move focusing blocks as state instead of using an imperative API.

This is not complete, since focusing is only triggered when changing the focusedIndex or when using the start and end attribute. Inside a block, focus position changes are not tracked. Tracking these internal focus changes is not useful for now, and trying to implement it caused some bugs when merging/splitting blocks (we could revisit later)

Noting this change will be useful while implementing undo/redo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants