Skip to content

Conversation

@hieudoan2609
Copy link

fix #1: shift click a checkbox only check itself instead of checking the rest of the checkboxes if there wasn't a last checkbox already
fix #2: unchecking a checkbox doesn't assign the checkbox to the lastChecked variable
fix #3: when selecting multiple checkboxes in the opposite direction of the last multiple checkboxes selection, the new selection is made from the lastCheckbox variable of the previous selection instead of the current selection. (e.g: selecting checkbox5 and selecting checkbox9 will select checkbox5,6,7,8,9, after that selecting checkbox1 will only select checkbox1,2,3,4,5 and uncheck 6,7,8,9 instead of checking 1 all the way to 9.)
fix #4: shift-click on an already checked checkbox uncheck the checkbox instead checking the rest of the checkboxes

Hieu added 2 commits December 20, 2016 16:32
fix #1: shift click a checkbox only check itself instead of checking the rest of the checkboxes if there isn't a last checkbox already
fix #2: unchecking a checkbox doesn't assign the checkbox to the lastChecked variable
fix #3: when selecting multiple checkboxes in the opposite direction of the last multiple checkboxes selection, the new selection is made from the lastCheckbox variable of the previous selection instead of the current selection. (e.g: selecting checkbox5 and selecting checkbox9 will select checkbox5,6,7,8,9, after that selecting checkbox1 will only select checkbox1,2,3,4,5 and uncheck 6,7,8,9 instead of checking 1 all the way to 9)
fix #4: shift-click on an already checked checkbox uncheck the checkbox instead checking the rest of the checkboxes
@wesbos
Copy link
Owner

wesbos commented Dec 20, 2016

I appreciate the PR but I will be keeping these files the same as the videos in order to maintain consistency. Thanks though!

@wesbos wesbos closed this Dec 20, 2016
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