premieroctet / openchakra

⚡️ Full-featured visual editor and code generator for React using Chakra UI
https://openchakra.app
MIT License
2.99k stars 299 forks source link

Can't put anything inside a TabPanel #172

Open tv42 opened 1 year ago

tv42 commented 1 year ago
  1. Visit https://openchakra.app/
  2. drag "Tabs (preset)" onto the grid
  3. try to drag anything, e.g. Input, into the TabPanel that says "One !"
  4. observe the new component getting inserted into TabPanels, not one TabPanel
    <Tabs size="md">
      <TabList>
        <Tab>One</Tab>
        <Tab>Two</Tab>
      </TabList>
      <TabPanels>
        <TabPanel>One !</TabPanel>
        <TabPanel>Two !</TabPanel>
        <Input />
      </TabPanels>
    </Tabs>
tv42 commented 1 year ago

Same thing seems to be true for ListItem, everything dropped there goes straight under the List.

zerowithzero commented 5 months ago

Yeah I got the issue image When I'm dragging input even after selecting that One! written component, it's not going inside. I can fix it