Comments (4)
I created a PR for a solution that certainly worked for me - using Omit<> to get around the problem with the position property that appears to be preventing the typedefs from correctly extending L.Control and L.ControlOptions. Once the extends are correct - the OP problem goes away.
from leaflet-sidebar-v2.
This problem is only related to the type definition not to application code, introduced by a change in leaflets type definition of L.Evented
.
#40 provides a temporary fix, though that is not a proper solution.
If someone has a proper fix, please send a PR.
from leaflet-sidebar-v2.
The upstream breaking change is here: DefinitelyTyped/DefinitelyTyped#38885
from leaflet-sidebar-v2.
@noerw Thanks a lot for the response.
I ended up using the cdn for both leaflet and leaflet-sidebar-v2 instead of getting them using npm.
from leaflet-sidebar-v2.
Related Issues (20)
- vue js wrapper HOT 1
- is there a react component availabe? thanks advanced HOT 2
- Can't refresh content HOT 1
- Sidebar on right side causes attribution shift HOT 1
- Is there a way to use JS inside a pane HOT 1
- IE compatibility HOT 2
- fa-bars do not consider top margin. Is it possible to change in the css file? HOT 1
- Allow determining whether sidebar is currently open or closed.
- can you give this library for react version ? HOT 1
- How to use in React? HOT 1
- Allow deep links to tabs
- Place the .leaflet-sidebar-tabs at the bottom horizontally rather than vertically on the left or on the right
- I can't un-insert the checkboxes in the panel HOT 1
- How to update content dynamic
- addUser() function not working. HOT 1
- Icons go invisible after clicking between panels.
- Remove Github link
- react-leaflet-sidebar-v2 hook
- is it possible to remove the tabs pane when we have only one panel
- Open sidebar pane on tooltip click?
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 leaflet-sidebar-v2.