enterprise
enterprise copied to clipboard
6686 - Searchfield visual bugfix
Explain the details for making this change. What existing problem does the pull request solve?
- Adjusted border in searchfield so that height is even
- Added check for searchfield go button on changing buttonset width
Related github/jira issue (required):
Closes #6686
Steps necessary to review your pull request (required):
- Pull this branch, build and run the app
- Go to: http://localhost:4000/components/tabs-module/example-category-searchfield-go-button-home.html
On uneven searchfield height:
- Click on the searchfield to focus it
- Click anywhere else on the page
On cut off go button:
- Resize the window small enough where the searchfield collapses
- Expand the window with the maximize button
Included in this Pull Request:
- [ ] A note to the change log.
Fix for build issue https://github.com/infor-design/enterprise/pull/6724 FYI
Not sure if this is ready to review but seeing a few odd things.
-
on reduced width the buttons flow funny and the text is cut off (i think the example should use toolbar-flex to fix some of this)
-
The focus state on the category button and go button isnt visible or shows a slight border change only
-
keep reloading the page and you see the search field move around into place (might also be fixed by changing to toolbar-flex in the example)
Hi @tmcconechy,
Is it possible that this gets fixed without changing the sample to use toolbar-flex? This could be a possibility in the future, but right now it would be too close to our code cutoff to switch to a different component.
I dont think so, maybe the shape of the search field might be ok without it but I doubt we can fix:
- the text getting cut off on the toolbar title
- the loading behavior
- and some width/resizing behavior (possible)
I would suggest we make the example look right with the new toolbar code and include the example with the old toolbar code (so include both) and get it mostly right but still may be toolbar issues with using the old toolbar
Sounds good, thank you!
New PR here: https://github.com/infor-design/enterprise/pull/6824