rn-sliding-up-panel icon indicating copy to clipboard operation
rn-sliding-up-panel copied to clipboard

[Example Code] MapBox README gif example

Open darekg11 opened this issue 5 years ago • 3 comments

Issue Description

Could you please share the minimum code that would work similar to the MapBox GIF placed on README? This one:
https://raw.githubusercontent.com/octopitus/rn-sliding-up-panel/master/demo/sliding_panel.gif

I have been trying to achieve similar layout but in my case SlidingUpPanel never renders when it's in position: absolute

darekg11 avatar May 13 '19 19:05 darekg11

I'd love to see this code too!

danjenkins avatar May 31 '19 11:05 danjenkins

It's pretty straight forward. The key is you should put the panel below most the components hierarchy. No need for positioning.

render() {
  return (
    <>
      <MapView />
      <SlidingUpPanel />
    </>
  )
}

octopitus avatar Jun 03 '19 13:06 octopitus

Yeah I figured out why mine was operating weirdly yesterday - as soon as i removed a bottom tab bar everything worked as it should

danjenkins avatar Jun 03 '19 13:06 danjenkins