You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Selected term should be scrolled into view/vybraný pojem by měl být zobrazen ve stromu pojmů #822
When a term is selected, it should be scrolled into view in the tree component. For example, when I open the detail of a term, the term tree selector on the right should display the selected term in the tree (not just as a value) - the term should be scrolled into view, and its ancestors should be expanded.
Usefulness
It is a nice to have feature, I can live without it.
Popis
Vybraný pojem by měl být zobrazen ve stromečkové komponentě. Např. když si otevřu detail pojmu, měl by tento pojem být zobrazen v selektoru pojmů vpravo (a ne jen jako jeho hodnota) - menu by mělo nascrollovat na vybraný pojem a expandovat všechny jeho předky.
@lukaskabc Does not work as expected.
If I go to a term detail from the list of terms in the vocabulary detail, it refocuses as expected,
But if I am in the term detail and switch to other (does not matter whether it was switched from term details "nadřazené/podřazené pojmy" or from the tree structure on the right side), tree strucutre remains focused on the same term it was before. Reloading page fixes it.
How to reproduce:
go to the term details of some term:
click on any other term either in the term details table or in the tree strucutre on the right. Term details change, buit tree structure remains on the previous term.
Moreover, in this case, when upper level term was selected, the tree is collapsed.
Requested new features for the tree select component:
Double/Triple click in the input field does not select the current value
Backspace is not working in the input field
The first option in the list is focused by default, the currently selected value should be focused by default, even after interaction with the tree select
Double/Triple click in the input field does not select the current value
Backspace is not working in the input field
The interactions should work with filtering text entered by the user. The interactions do not work for the currently selected value.
This is the behavior of internal react-select, and after discussion, we decided not to change that behavior.
Instead, the caret placement will be moved to before the current value to match react-select's behavior.
If I double-click on the search bar above the tree component and there is a term already selected, it is not highlighted: i.e. I can edit it, but it does not look like I can. The name of a term selected before remains there, until other one is selected.
Activity
ledsoft commentedon Jul 10, 2026
C.f. lecbyjak/intelligent-tree-select#85
[Enhancement kbss-cvut#822] Pass selected terms to fetchOptions in pu…
[Enhancement kbss-cvut/termit-ui#822] Add includeTerms parameter to t…
[Enhancement kbss-cvut/termit-ui#822] Add endpoint for retrieving fla…
[Enhancement kbss-cvut#822] Update endpoint used for quering flat lis…
[Enhancement kbss-cvut/termit-ui#822] Add endpoint for retrieving fla…
23 remaining items
[Enhancement #822] Mark selected terms as loaded after loading the fi…
Revert "[Enhancement #822] Update endpoint used for quering flat list…
MichalMed commentedon Sep 14, 2026
@lukaskabc Does not work as expected.
If I go to a term detail from the list of terms in the vocabulary detail, it refocuses as expected,
But if I am in the term detail and switch to other (does not matter whether it was switched from term details "nadřazené/podřazené pojmy" or from the tree structure on the right side), tree strucutre remains focused on the same term it was before. Reloading page fixes it.
How to reproduce:
Moreover, in this case, when upper level term was selected, the tree is collapsed.
ledsoft commentedon Sep 14, 2026
@MichalMed Note that the first issue is already tracked under #851.
lukaskabc commentedon Sep 17, 2026
@MichalMed, the issues should be resolved now if you have a moment to test it again.
lukaskabc commentedon Sep 29, 2026
Requested new features for the tree select component:
lukaskabc commentedon Sep 30, 2026
The interactions should work with filtering text entered by the user. The interactions do not work for the currently selected value.
This is the behavior of internal react-select, and after discussion, we decided not to change that behavior.
Instead, the caret placement will be moved to before the current value to match react-select's behavior.
Tree component PR: lecbyjak/intelligent-tree-select#136
MichalMed commentedon Oct 5, 2026
It seems like working, except the text in the input field is not highlighted even if it is selected.
lukaskabc commentedon Oct 5, 2026
Can you please explain more what you mean?
MichalMed commentedon Oct 13, 2026
If I double-click on the search bar above the tree component and there is a term already selected, it is not highlighted: i.e. I can edit it, but it does not look like I can. The name of a term selected before remains there, until other one is selected.
Screencast.from.2026-10-13.09-18-36.webm