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
Improved search #76
Improved search #76
Conversation
- move the search dialog atop of the left pane - remove the close button
This is way much better than the floating popup 👍 |
I like this way much more ❤️ |
Getting better. 👍 Have you tried with a transparent barrier color to make it look less modal? |
Could it be an |
Again, we don't have a way to cancel the search using mouse without selecting an option. :) |
You can press ESC |
I know but for that I would need to use my keyboard 😃 |
hehe ^^ well when you press the search button you need to use the keyboard because otherwise you can not type in the letters for search :) |
That's fair but what if I just clicked the search button out of curiosity. Maybe I was thinking it's a lens I can grab and move around 😉 |
@mivoligo for some reason the barrier dismiss does not work 🤷 |
ok 👍 |
@@ -48,6 +56,100 @@ class MasterPageState extends State<MasterPage> { | |||
|
|||
filterItems(); | |||
|
|||
void openSearchDialog() { | |||
showDialog( | |||
barrierDismissible: true, |
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.
It's true
by default so we can omit this.
void openSearchDialog() { | ||
showDialog( | ||
barrierDismissible: true, | ||
barrierColor: Colors.white.withOpacity(0), |
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.
Maybe better to use Colors.transparent
Okay this sucks this need to be made better, with less code duplication and with the new navigtion I soon push, closing and re-opening the search issue =) |
@jpnurmi @mivoligo since you both were not 100% happy with the search dialog - what about this instead?