mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
1.27k stars 282 forks source link

Double scrollbar when selected overflowing selected element #808

Closed Janpot closed 2 years ago

Janpot commented 2 years ago

Duplicates

Latest version

Current behavior 😯

https://user-images.githubusercontent.com/2109932/185091043-580dfd6e-548a-44d5-a0b6-c86c907a558b.mov

Expected behavior 🤔

No response

Steps to reproduce 🕹

Steps:

1. 2. 3. 4.

Context 🔦

No response

Your environment 🌎

No response

apedroferreira commented 2 years ago

I'm not being able to reproduce this... Do you still have it?

Janpot commented 2 years ago

yes

apedroferreira commented 2 years ago

yes

can you please share a DOM where you get it?

Janpot commented 2 years ago

Might want to configure your Mac to always show scrollbars, see https://github.com/mui/mui-toolpad/pull/788

{
  "root": "rj2vdyh",
  "nodes": {
    "rj2vdyh": {
      "id": "rj2vdyh",
      "name": "Application",
      "type": "app",
      "parentId": null,
      "attributes": {},
      "parentProp": null,
      "parentIndex": null
    },
    "rk3vdyv": {
      "id": "rk3vdyv",
      "name": "page1",
      "type": "page",
      "parentId": "rj2vdyh",
      "attributes": {
        "title": {
          "type": "const",
          "value": "Page 1"
        }
      },
      "parentProp": "pages",
      "parentIndex": "a0"
    },
    "ke13o6c": {
      "name": "pageRow",
      "props": {},
      "attributes": {
        "component": {
          "type": "const",
          "value": "PageRow"
        }
      },
      "layout": {},
      "id": "ke13o6c",
      "type": "element",
      "parentId": "rk3vdyv",
      "parentProp": "children",
      "parentIndex": "a0"
    },
    "7a03olw": {
      "name": "dataGrid",
      "props": {},
      "attributes": {
        "component": {
          "type": "const",
          "value": "DataGrid"
        }
      },
      "layout": {},
      "id": "7a03olw",
      "type": "element",
      "parentId": "ke13o6c",
      "parentProp": "children",
      "parentIndex": "a0"
    }
  }
}
apedroferreira commented 2 years ago

i think i had that on already, but thanks a lot! i'll try to repro with this one