Try Upgrade Adviser – Scan Your Ext JS Codebase for V8 App Upgrade

Top Support Tips

April 30, 2014 1945 Views

Get a summary of this article:

Show

Controlling the Scroll Indicator autoHide

by Mitchell Simoens

Sencha Touch has a scroller that works and looks the same across all platforms. Both axes (x and y, horizontal and vertical respectively) can have their own scrolling indicator, as you would expect, but are set to hide by default. In some cases, you may want to always show the indicators. New in Touch 2.3.0, each indicator has an autoHide configuration that allows you to control it. Setting autoHide to false will tell that indicator not to auto-hide. You can use the indicators config within the scrollable config on a Container or subclass.

For example, you can set the autoHide config to false for the y indicator. This makes the y indicator always show. Since the x indicator is left to its default, it will automatically hide.

You can see this in action at https://fiddle.sencha.com/#fiddle/1u9.


Mouseenter Versus Mouseover Event Listeners

by Seth Lemmons

In Ext JS, you can listen for mouse cursor events on a dom element in order to do things like add or remove a CSS class to said element. One event you can listen for is the mouseover event. However, the mouseover event will fire as the cursor enters the element in addition to passing the cursor over other nested elements. This can be aggravating if you only want the event to fire as the cursor first enters.

In this case, you should use the mouseenter event instead. This will allow you to monitor the cursor’s initial entry into the bounds of the element.

You can see this in action at https://fiddle.sencha.com/#fiddle/43q.

Recommended Articles

Creating a Mobile Application with Ext JS and Capacitor

Introduction Modern mobile applications demand rich user experiences, cross-platform compatibility, and rapid development cycles. In this document, you will learn how Ext JS and Capacitor…

Building Real-Time Dashboards with WebSockets and Frontend Frameworks

Real-time dashboards have become essential in industries where users need instant visibility into changing data. Whether monitoring financial transactions, logistics operations, industrial systems, application health,…

Front-End Frameworks Compared in 2026: Performance, Use Cases, and Trade-offs

Front-end framework selection in 2026 centers on three critical decisions: complete platform versus ecosystem assembly, performance at enterprise scale, and long-term maintenance costs. Ext JS…

Enhancing Component Logic: A Developer’s Guide to Ext JS Plugins

In the world of Ext JS, reusability is king. While subclassing a component is a common approach to extend functionality, it often leads to rigid…

Upgrading Ext JS 7.x to 8.0: A Practical Enterprise Guide

For teams already running Ext JS 7.x, upgrading to Ext JS 8.0 is usually a manageable modernization step rather than a full-scale rebuild. Because the…

Upgrading Ext JS 6.x to 8.0: A Practical Guide

For organizations maintaining Ext JS 6.x applications, upgrading to Ext JS 8.0 is typically a modernization exercise focused on stability, maintainability, tooling alignment, and validation…

View More