defaultPositionX & defaultPositionX are overwritten by dynamic values
See original GitHub issueBug:
defaultPositionX
and defaultPositionY
are immediately overwritten by dynamic values when the components render.
Expected behaviour:
I would expect the defaultPosition (X, Y) values to be applied on initial rendering. For defaultScale
this already works correctly.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
move the position of bootstrap datepicker - Stack Overflow
It will override the default css. You need to try different values for left property, to make it best fit on the form....
Read more >Set-DhcpServerv6DnsSetting (DhcpServer) | Microsoft Learn
Specifies the subnet prefix of the IPv6 scope on which the DNS update behavior is configured. Type: IPAddress. Position: 1. Default value: None....
Read more >CSS Z-Index Not Working? How to Fix It Using Stack Order
The first important thing to know is that every element on a webpage has a default position – in other words, a statically...
Read more >Theme Configuration - Tailwind CSS
Customizing the default theme for your project. The theme section of your tailwind.config.js file is where you define your project's color palette, type...
Read more >Configuration | Grafana Loki documentation
The result is the value for every config object in the Promtail config struct. ... Location of positions file [filename: <string> | default...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue with 1.6.1
Found a solution. See https://github.com/prc5/react-zoom-pan-pinch/issues/82#issuecomment-583891935
The defaults of: limitToBounds: true limitToWrapper: false centerContent: true
Are causing this to fire in
src/store/StateContext.tsx
My solution was to override those default options like so: