Replies: 6 comments 6 replies
-
Something tells me the issue is with the hosted environment :) Happy to continue the discussion but I don't think this is a bug with the component. |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for the reply. How can we continue the discussion? here or email? |
Beta Was this translation helpful? Give feedback.
-
Hello, I am actually having the exact same issue... My app is built using react-script and then deployed to AWS S3, so... nothing fancy here. |
Beta Was this translation helpful? Give feedback.
-
Hello, First thanks a lot for this great component :-) I face the same issue here. I host my app on AWS S3 using react. Do you need more informations in order to debug? |
Beta Was this translation helpful? Give feedback.
-
Adding a piece of information: it does work when tags are already opened... it keeps tree open and properly shows every already displayed and filtered children |
Beta Was this translation helpful? Give feedback.
-
I think I found the origin of the bug. For a (yet) unknown reason, once the code of the lib is built and on my remote env, I can see this piece of code:
This is the minified version of the "shouldRenderNode" method:
As you can see, the minified version is missing the "searchModeOn" in the first "if"... The minified version of the method isn't actually using the "t" argument (which is the "searchModeOn" argument). Why would this disappear? I'm using the very last version of that lib (2.5.1).
Here, we clearly see the "t" in the "if"... |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
when using the search feature, only the parent of the matching node appears (the 'HainesAttract' node has a child called 'Technology', see next screenshot)
However, when the app is running locally on my machine, everything works as expected - I type 'tech' and the relevant child node 'Technology' (and it's children) appear.
To Reproduce
the issue occurs only on a hosted environment.
Expected behavior
see above.
Screenshots
see above.
Environment (please complete the following information):
Additional context
using react-dropdown-tree-select version 2.5.1.
It might be that the info I provided is not enough, but I'm not quite sure what to look into at this point, so any questions/requests for further into are welcome.
Beta Was this translation helpful? Give feedback.
All reactions