Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add iframe support #1

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/api/droppable.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ type Direction = 'horizontal' | 'vertical';
- `ignoreContainerClipping`: When a `<Droppable />` is inside a scrollable container its area is constrained so that you can only drop on the part of the `<Droppable />` that you can see. Setting this prop opts out of this behavior, allowing you to drop anywhere on a `<Droppable />` even if it's visually hidden by a scrollable parent. The default behavior is suitable for most cases so odds are you'll never need to use this prop, but it can be useful if you've got very long `<Draggable />`s inside a short scroll container. Keep in mind that it might cause some unexpected behavior if you have multiple `<Droppable />`s inside scroll containers on the same page.
- `mode`: `standard` (default) or `virtual`. Used to designate a list as a virtual list. See our [virtual lists pattern](/docs/patterns/virtual-lists.md)
- `renderClone`: used to render a clone (replacement) of the dragging `<Draggable />` while a drag is occurring. See our [reparenting guide](/docs/guides/reparenting.md) for usage details. **A clone must be used for [virtual lists](/docs/patterns/virtual-lists.md).** You can use a clone without using virtual lists
- `shouldRenderOriginal`: keep the original draggable element mounted when using the `renderClone` API.
- `getContainerForClone`: a function that returns the containing element (parent element) for a clone during a drag. See our [reparenting guide](/docs/guides/reparenting.md).

## Children function
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"dependencies": {
"@babel/runtime": "^7.23.2",
"css-box-model": "^1.2.1",
"lru-cache": "^10.2.0",
"memoize-one": "^6.0.0",
"raf-schd": "^4.0.3",
"react-redux": "^8.1.3",
Expand Down Expand Up @@ -104,6 +105,7 @@
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@jest/environment": "29.7.0",
"@measured/auto-frame-component": "0.1.0-canary.4686711",
"@release-it/conventional-changelog": "8.0.1",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.7",
Expand Down Expand Up @@ -131,6 +133,7 @@
"@types/jsdom": "21.1.6",
"@types/markdown-it": "13.0.7",
"@types/node": "20.10.3",
"@types/object-hash": "^3.0.6",
"@types/raf-schd": "4.0.3",
"@types/react": "18.2.42",
"@types/react-dom": "18.2.17",
Expand Down
Loading