-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed issue where map still had focus when instruction list was visib… #1014
Conversation
view.hideRecenterBtn(); | ||
} else { | ||
view.showRecenterBtn(); | ||
if (recenterButtonVisible) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think recenterButtonVisible
can be eliminated by checking if the SummaryBottomSheet
is visible here instead with view.isSummaryBottomSheetHidden()
. We only want to show if the bottomsheet is currently hidden right?
@@ -316,6 +316,7 @@ public void hideInstructionList() { | |||
*/ | |||
public void showInstructionList() { | |||
onInstructionListVisibilityChanged(true); | |||
instructionLayout.requestFocus(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the MapView
regain focus okay after the list is hidden?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup it does. I originally added abandonFocus
to hideInstructionList
, I can re-add it if you want
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem, as long as you didn't see any issues
…le. Also fixed issue where when closing the instruction view, the recenter button was always shown.
c7ff8ff
to
c5a2026
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @devotaaabel 🚢
…le. Also fixed issue where when closing the instruction view, the recenter button was always shown. Fixes #1009