Is there a way to make it's position relative?
See original GitHub issueI want to use the search bar inside a view this way:
<SearchBar ref={(ref) => this.searchBar = ref}
data={this.props.data}
handleResults={(results) => this.setState({results})}
showOnLoad
/>
<Results />
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:5
Top Results From Across the Web
CSS Layout - The position Property - W3Schools
The position property specifies the type of positioning method used for an element. There are five different position values: static; relative; fixed; absolute ......
Read more >CSS Positioning – Position Absolute and Relative Example
position: relative works the same way as position: static; , but it lets you change an element's position. But just writing this CSS...
Read more >position - CSS: Cascading Style Sheets - MDN Web Docs
The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final ......
Read more >Absolute, Relative, Fixed Positioning: How Do They Differ?
The trade-off (and most important thing to remember) about absolute positioning is that these elements are removed from the flow of elements on ......
Read more >Practical Guide to Using CSS Position Relative & Absolute
Relative Positioning. When you make an HTML element position: relative , it'll remain “in the flow” of the layout but you can move ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s true I guess. But I was working on the ‘baked in’ version at work. Currently, it’s still kinda quickly and hard-coded and I don’t have that much more time to make it more generic in order to open a PR. But I will once I got to it 😉
Update (2018/01/03)
It looks like I won’t work on the project I am using the search bar for in the next time. Thus you guys are welcome to fork my fork 😉
more easy if you let us modify the style from props