Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for a link to be cloned in to the child tree #35

Open
cizza opened this issue Apr 5, 2019 · 1 comment
Open

Allow for a link to be cloned in to the child tree #35

cizza opened this issue Apr 5, 2019 · 1 comment
Assignees

Comments

@cizza
Copy link

cizza commented Apr 5, 2019

Hello,

thank you for the great plugin.

I have one feature request and that is to allow for a link to become disabled and cloned into the child tree.

What I mean by this is a situation, when the vue-tree-navigation is used as a navigation on mobile devices. How do you open a child tree of a link, which is actually a link itself? On desktop that's not a problem but on mobiles, as soon as you click on the link to open the child tree, a page belonging to the link will load.

I don't think that's desirable. What I suggest is a prop or a setting, which will mark that "parent" link to be disabled (and becomes a toggler) and cloned in to the child tree. So when you actually click on it, the child tree will open and the "parent" link will sit on top acting as a normal link.

Thanks

@MisRob
Copy link
Collaborator

MisRob commented Apr 20, 2019

Hi @cizza, I'm sorry for the late reply, I've been busy lately. Thank you for your suggestion- sounds useful to me, too!

@chellem chellem self-assigned this Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants