Comments (3)
Thanks for raising this, it does seem a bit weird to me too. It's react-bootstrap under the hood passing style arguments to the parent div rather than the dialog. Will take a look at how best to fix this.
In case there are people using style
in its current form I'll be keen to see if there's a backwards compatible way of doing it, maybe a new prop like dialogStyle
or similar.
from dash-bootstrap-components.
I've just made a prerelease that exposes two new props: dialogStyle
/ dialog_style
and contentStyle
/ content_style
. They target the same HTML elements as dialogClassName
and contentClassName
respectively. In your example above you would want to set the position with dialogStyle
.
Please test it out and let me know how you get on. I will likely make a full release in the near future.
pip install dash-bootstrap-components==1.6.1rc1
from dash-bootstrap-components.
Related Issues (20)
- Support tooltips without IDs HOT 3
- [Bug] Console warning on dbc.Tooltip component HOT 3
- Web site is not showing components HOT 5
- Graphs in tabs example not rendering HOT 2
- Support 'clearable' in Input HOT 1
- Allow not showing up-down arrows in numeric HOT 1
- Bootstrap stopped working HOT 4
- [docs] Burger hard to see in dark mode
- dbc.Spinner() intial load lags on launch HOT 2
- Enter does not change line inside textarea component HOT 1
- Debounce support for numeric value of seconds (like dcc.Input)
- [POPOVER] Legacy trigger error inside an iframe
- Allow icons and html in `dbc.AccordionItem()` title HOT 3
- Remove migration guide in docs
- selected attribute for dbc.Select HOT 1
- `dbc.Checklist` does not accept `label` as `list[Component]` like `dcc.Checklist` does HOT 3
- dash_bootstrap_components version versus python version HOT 5
- Nested tabs in `Offcanvas` component trigger scroll up event on tab change HOT 2
- Tooltip closing race condition with children change callback HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dash-bootstrap-components.