sebastianbaar / vue-kaiui Goto Github PK
View Code? Open in Web Editor NEWVue KaiUI - Vue component library for KaiOS apps.
License: MIT License
Vue KaiUI - Vue component library for KaiOS apps.
License: MIT License
I tried to add this into a vue3 project and got this error in browser:
runtime-core.esm-bundler.js?5c40:5475 Uncaught TypeError: selfHook.call is not a function
at callSyncHook (runtime-core.esm-bundler.js?5c40:5475)
at applyOptions (runtime-core.esm-bundler.js?5c40:5267)
at finishComponentSetup (runtime-core.esm-bundler.js?5c40:6050)
at setupStatefulComponent (runtime-core.esm-bundler.js?5c40:5986)
at setupComponent (runtime-core.esm-bundler.js?5c40:5926)
at mountComponent (runtime-core.esm-bundler.js?5c40:4207)
at processComponent (runtime-core.esm-bundler.js?5c40:4183)
at patch (runtime-core.esm-bundler.js?5c40:3788)
at mountChildren (runtime-core.esm-bundler.js?5c40:3996)
at mountElement (runtime-core.esm-bundler.js?5c40:3900)
Description of bug
When the user has a text input field selected, the left and right keys act as if pressing up or down. You cannot change tabs while hovered over an input, you have to hover over another type of item and then press left or right.
To Reproduce
Create two .
In one of the tab items, add a and another element, such as .
Move to the tab that has the two items you created.
Hover over the and then press left or right to try to move to the other tab. Notice that the tab will not change, rather the left or right key will move you to the other item in the tab.
Now hover over the other item you created, such as the . Press left or right to try to move tabs, notice that the tab now changes.
Expected behavior
The expected behavior is for the left and right keys to change tabs, not change items.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop
Smartphone (please complete the following information):
Additional context
I would think that this functionality would make sense when you have items in both horizontal and vertical directions e.g. 3x3 grid of icons that are selectable. However, when the items are only positioned vertically from each other it seems it would make more sense that left and right keys control tab selection. I think it would make sense to have an attribute to change the behavior depending on the users needs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.