Horizontal Scroll Issue in Tizen Web Application

Original Created Jul 04, 2016 | Regeneration Apr 22, 2026

I'm developing a web application for Tizen that requires horizontal scrolling functionality. I've implemented this using jQuery with the following setup:

JavaScript Libraries:

<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/jquery.mobile-1.4.5.min.js"></script>

CSS Files:

<link rel="stylesheet" type="text/css" href="css/w3.css" />
<link rel="stylesheet" href="css/jquery.mobile-1.4.5.min.css">

Viewport Meta Tag:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

The horizontal scrolling works perfectly in Chrome and Firefox browsers, but I'm experiencing issues on Tizen devices. Specifically:

  • There are unexpected extra spaces when scrolling left
  • These spaces appear even when there's no content present

I've attached a screenshot showing how it appears on Tizen devices. Could anyone help me resolve this issue?

Problem Understanding

The issue appears to be related to how Tizen's web engine handles horizontal scrolling compared to desktop browsers. The extra spaces during scrolling might be caused by:

  1. Viewport configuration differences
  2. jQuery Mobile's touch event handling on Tizen
  3. CSS overflow properties not being properly interpreted

Solution Methods

  1. Viewport Configuration Adjustment: Try modifying your viewport meta tag to:

    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
    
  2. CSS Overflow Properties: Add these CSS rules to your scrolling container:

    .scroll-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    
  3. jQuery Mobile Alternative: Consider using native JavaScript scrolling or a lightweight library like iScroll for better Tizen compatibility.

Code Examples

Here's a complete implementation example:

<div class="scroll-container">
    <!-- Your horizontally scrollable content here -->
</div>

<style>
.scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    width: 100%;
}
.scroll-item {
    display: inline-block;
    width: 300px;
    height: 200px;
    margin-right: 10px;
}
</style>

Additional Tips

  • Test your application on the Tizen emulator with different screen sizes
  • Consider using Tizen's native scroll APIs if web scrolling continues to be problematic
  • Check for any console errors that might indicate JavaScript compatibility issues

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.