Closed Prerana-das closed 2 years ago
Thank you. What about zoom in and zoom out using touchpad/ mouse?
This is the default behavior of Org Chart JS.
I'm using family tree js. Is it possible to add zoom in and zoom out feature by using touchpad/ mouse?
For example, if we browse from mobile we easily can zoom in/out.
Sorry, it's the same for Family Tree JS. Zoon in/out are working by default for touchpad and mouse scroll.
Thanks
Sorry, it's the same for Family Tree JS. Zoon in/out are working by default for touchpad and mouse scroll.
Zoon in/out are not working by default in PC but mobile is okay. What to do?
See I just can drag .No zoom in zoom out https://user-images.githubusercontent.com/32504893/170971657-b032c634-4e8e-4ac7-9b4c-01c497c90b18.mov
Please check if you have in your tree configuration this and delete it:
mouseScrool: FamilyTree.action.none,
Thanks
You can use initial scale option to set the initial zoom.