Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
364 views
in Technique[技术] by (71.8m points)

reactjs - Expand the Searchbar and hide the links on the Appbar

Following is the code to expand the SearchBAr on focus.In addition to that , i need the searchBar to expand in such a way that the Navigational link on the AppBAr should not be seen.The SearchBar should overlap the Nav Links.

I need to achieve this in React JS

SearchInput: {

    transition: theme.transitions.create('width'),
    width: '100%',
    [theme.breakpoints.up('sm')]: {
      width: '20ch',
      '&:focus': {
        width: '100ch',
      },
    },
question from:https://stackoverflow.com/questions/65901250/expand-the-searchbar-and-hide-the-links-on-the-appbar

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...