Skip to content

Conversation

@agubler
Copy link
Member

@agubler agubler commented Nov 5, 2019

Type: bug

The following has been addressed in the PR:

Description:

The state in the focus middleware was incorrectly getting the current value from the cache, but setting it in the icache. This means that after the first focus call, shouldFocus would always be false. This highlights just one of the issues with mixing icache and cache.

This changes the logic to use icache for everything except the active element which is simply kept in the scope of the middlware.

@agubler agubler force-pushed the fix-state-in-focus-middleware branch from b13a953 to 8fcbbae Compare November 5, 2019 18:31
@agubler agubler merged commit 8e6d077 into dojo:master Nov 5, 2019
agubler added a commit to agubler/framework that referenced this pull request Nov 5, 2019
* failing unit test

* do not mix cache and icache
@agubler agubler mentioned this pull request Nov 5, 2019
3 tasks
agubler added a commit that referenced this pull request Nov 5, 2019
* failing unit test

* do not mix cache and icache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants