Core: problem with the next tree button
Closed this issue ยท 12 comments
@RubenSmn can you look at this? I'm not sure what's the problem, but when I download the core and run on my computer, the button's layout seems incorrect
Also please add some feedback effect for the button
Will have a look!
I think maybe it's because the webpack bundle, if I install the core on web map client, the layout is bad, and the button doesn't work, can not click to jump to next tree, there are some error throwing from main.js (the core bundle) saying: failed to read style
from undefined
@RubenSmn here is how to install the core locally: https://github.com/Greenstand/treetracker-web-map-core#how-to-debug-the-core-on-the-client-side
Ah that is possible, for the customizable web map I need a ColorPicker but it was not compatible with NextJS giving the same error. I do not know what or how, but it has something to do with the babel config
By the approach above, you can install your version of core into web map client
Btw, I am changing the buttons to only be an SVG on the arrows, the rest will just be an element. So we can easily change the buttons appearance, for example for feedback.
I think maybe it's because the webpack bundle, if I install the core on web map client, the layout is bad, and the button doesn't work, can not click to jump to next tree, there are some error throwing from main.js (the core bundle) saying: failed to read
style
from undefined
This was due to a element being undefined
๐ This issue has been resolved in version 2.3.1 ๐
The release is available on GitHub release
Your semantic-release bot ๐ฆ๐
@RubenSmn this is working perfectly!