Closed JerikoOne closed 1 week ago
@chrisbeluga To fix you could add the following styles
.navigation-field .k-dropdown-content {
--button-height: auto;
}
@distantnative Unf, doesn't work.
Also getting alert for K4:
Deprecated:
will be removed in a future version. Since Kirby 4.0, you don't need it anymore as wrapper element. Use <k-dropdown-content>
as standalone instead. Deprecated:: align
prop will be removed in a future version. Use thealignX
prop instead. Deprecated:: the theme
prop will be removed in a future version. For help text, add.k-help "
CSS class instead.
Do we have a new forked maintained version?
Unf not yet.
I managed to get it to work. Unfortunately I'm not that in into Vuejs and Kirbys plugin structure, so do not 100% understand, WHY it works - but does :D It seemes, that in Kirby 4 the plugin in the current state builds and adds the modal for adding pages to the menu correctly, but the overlay with this modal is not opened.
You have to add three lines of code, so the overlay with the desired overlay will open up:
File: site\plugins\kirby-navigation-main\src\Field.vue
Perhaps someone with deeper understanding of Vuejs and Kirbys plugin system can explain, why this works? :)
To fix the dropdown menu, when clicking on "Add", you have to add the following:
File: site\plugins\kirby-navigation-main\src\Field.vue
What would have to be done for an "official" Kirby4 compatible version? Does anyone need a small bounty?
FYI We have started to build a proper K4 version.
Thats good news! :)
@lukas-dne
What is needed after you add the lines of code? As the dialogs don't pop up for me.
Hey all,
Apologies that I haven't been around to support this plugin as much as I'd have liked.
I had started a full rewrite which isn't complete yet, I have shared the codebase with a couple of others who are interested in taking over. It's approx 90% complete with quid support etc.
If anyone else is interested then please let me know and I can share this and the new repo with you.
On Thu, 20 Jun 2024, 16:29 Sachbearbeiter, @.***> wrote:
What would have to be done for an "official" Kirby4 compatible version? Does anyone need a small bounty?
— Reply to this email directly, view it on GitHub https://github.com/chrisbeluga/kirby-navigation/issues/40#issuecomment-2180985423, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVE5J2RET5F4F3QF35C4NH3ZILYPLAVCNFSM6AAAAAA5DTVVMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQHE4DKNBSGM . You are receiving this because you were mentioned.Message ID: @.***>
We have opened a pull request. https://github.com/chrisbeluga/kirby-navigation/pull/41
@CoderofOne Hi, I'm afraid I can not help you, because I did not fully understand the implementation. I was only a little bit lucky to get it working ;) But it seemes, that sachbearbeiter is actively working on the k4 ready version of the plugin. This would solve your problem, I suppose.
There are some minor errors in our v4 version, but we will fix it in the next pull request.
Currently the plugin is not compatible with 4.0 (as of writing this issue: Beta 1):
The API route isn't working
The select isn't styled correctly