Comments (9)
I'm on BB7, but here are my 2 main problems with Focus Based Navigation
1 - Focus can't be manually set
Using the standard javascript functions to change focus doesn't work at all. It's also not possible to define initial focus as explained in the API docs: https://bdsc.webapps.blackberry.com/html5/documentation/ww_developing/using_the_navigation_mode_1866978_11.html
2 - Focus is kept even after changing a screen
If after changing screen we don't move the trackpad, the focus remains on the previous' screen selected element. Clicking the trackpad may then result in odd behaviours.
Example: I'm navigating a main menu. Click on an option, and load a new screen. Click again without moving the trackpad and the 2nd screen is pushed a second time.
from bbui.js.
Any progress on this issue? Perhaps someone tried to fix this on his own?
This and #1 are quite important issues on BB5
from bbui.js.
No progress from my side... I've been heads down working on trying to get the BB10 release of the toolkit out the door for May 1st
from bbui.js.
Just FYI:
Regarding my 1st point above, today I tried using the "autofocus" html5 tag. After the page is loaded it would set the focus appropriately, but somehow the scroll was completely messed up and I could not change the focus to any other button or field, therefore this is also not an option at the moment. (OS 7)
from bbui.js.
Did you ever get this resolved. I am having nightmares with focus based navigation mixed with touch screen tech(some have both) and also pages which are switched on and off using show & hide so I only load one page at the start and then display one of 6 different pages via show and hide. Also my system scrolls and has fixed icon bar at the top. This combination is FROM HELL when it comes to focus based nav. I think it has to do with the fact the focus system need to know where it has come from in order to change focus. This is a problem if where it came from is no longer visible (or even rendered in my case) I use knockoutJS that give the option to not render sections. So even if the item I am trying to set focus too is visible. It just wont do it. I wish there was a 'just set it to this ID' I dont care where it came from. Treat me like I am a first time selection! option.
from bbui.js.
Scrollable areas (divs with overflow) just do not work with the WebWorks navigation mode. It will be next to impossible to have a fixed toolbar and scrollable area when using trackpad navigation.
from bbui.js.
Any suggested alternatives Neil?
from bbui.js.
Unfortunately, my only suggestion is to not have fixed areas of the screen. Especially on trackpad only devices.
from bbui.js.
Thanks Tim, I do that on devices lower then BB7. Just still gave hellish issues setting the focus on higher end devices.
BTW sorry for getting name wrong on previous post :)
from bbui.js.
Related Issues (20)
- bb10 example doesn't work with latest Web Works 2.0 release 2.1.0.13 HOT 3
- Buttons highlight customization? HOT 2
- Update wiki for 10.3 HOT 1
- [Feature] Compact Action Bar HOT 1
- Align Overflow to Bottom HOT 1
- Hide Signature Action
- 10.3 ActionBar - Missing Action Item HOT 2
- Z30(Z3?) 10.3 - missing space on screen (top / bottom)
- "Invalid Project" in WebWorks SDK HOT 4
- Disabled text box issue.. bug??
- [New Feature]API for Classic trackpad and Passport touch Keyboard HOT 7
- Reorder / Redraw / Remove Action Bar "Tabs" overflow
- Q10 (10.3) doesn't display ActionBar Overflow-Menu HOT 8
- Request: classic support for bbui.js HOT 1
- Is there any way to prevent bbui from hoisting my javascript? HOT 2
- module.js:340 throw err; HOT 2
- bb.popScreen merge two screens
- Menu doesn't pull down
- Image List Highlight doesn't clear when dismissing Context Menu
- Avoid applying BBUI style on div
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bbui.js.