Describe your issue or idea
SmartMenus is in core and provides the front-end drop-down menus in the menu blocks. We should use it for Admin Bar as well to solve accessibility issues as well as some other existing problems:
520 | [UX] admin bar search results should not be allowed to span further than the page height.
2172 | Dropdown menus: when the menu is longer than the viewport and you scroll, menu items get blurry (only on Chrome)
2161 | [UX] Drop-down menus: 1st item in long menus is hidden under the admin bar.
4549 | [UX] Admin Bar drop-downs go off-screen
All of the above problems may be solved by using SmartMenus instead of custom JavaScript included in Admin Bar.
GitHub Issue #:
2809
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE