GithubHelp home page GithubHelp logo

sebastianbaar / vue-kaiui Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 4.0 2.91 MB

Vue KaiUI - Vue component library for KaiOS apps.

License: MIT License

JavaScript 7.82% CSS 49.25% Vue 42.94%
kaios vue vuejs kaiui component-library mobile-web mobile-development mobile-app

vue-kaiui's People

Contributors

dependabot[bot] avatar sebastianbaar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vue-kaiui's Issues

Not compatible with vue 3.0 project

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)

[BUG] Cannot change tabs when focused on <kaiui-input>

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

  • OS: Ubuntu 20.01
  • Browser: Both Chromium and Firefox v59

Smartphone (please complete the following information):

  • Device: Nokia 6300 4G
  • KaiOS: 2.5.4
  • Browser: stock

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.