Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8688893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:29:41+00:00 2026-06-12T23:29:41+00:00

I have a carousel in a panel which displays and works fine before I

  • 0

I have a carousel in a panel which displays and works fine before I build the app through the sencha sdk. After I’ve built it, however, the carousel still displays properly but no longer allows me to swipe between the items.

Ext.define('SycsApp.view.HotOffers', {
    extend: 'Ext.Panel',
    requires: ['Ext.carousel.Carousel', 'Ext.TitleBar'],

    config: {
            layout: 'card',
            items: [
                {
                    docked: 'top',
                    xtype: 'titlebar',
                    ui: 'top-sub',
                    title: 'Hot Offers',
                },
                {
                    id: 'hotOffersCarousel',
                    xtype: 'carousel',
                    width: '100%',
                    items: [
                        {
                            html : 'Item 1',
                            style: 'background-color: #5E99CC'
                        },
                        {
                            html : 'Item 2',
                            style: 'background-color: #759E60'
                        },
                        {
                            html : 'Item 3'
                        }
                    ]
                }
            ]
    }
});

The reason the layout is set to card is that this view is part of an encompassing tab panel. I’m not getting any error messages from the console when I run the app after the build, either.

Any help with why this would possibly be happening would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:29:42+00:00Added an answer on June 12, 2026 at 11:29 pm

    The issue was caused by the way it was being added to the main card view.

    Ext.define('SycsApp.view.Main', {
    extend: 'Ext.tab.Panel',
    xtype: 'mainView',
    requires:  ['SycsApp.view.HotOffers'],
    
    config: {
        tabBarPosition: 'bottom',
        id: 'MainView',
        ui: 'bottom',
        layout: 'card',
        items: [
            {
                title: 'Hot Offers',
                layout: 'fit',
                iconCls: 'hotoffer',
                //items: [Ext.create('SycsApp.view.HotOffers')], // carousel doesn't work after build
                items:  [{xtype: 'hotOffersView'}] // carousel works after build
            },
            {
                title: 'All Savings',
                layout: 'fit',
                iconCls: 'list',
                items:  [{xtype: 'allSavingsMainView'}]
            }
        ]
    }
    

    });

    The xtype: 'hotOffersView' must be added to the Hot Offers view:

    Ext.define('SycsApp.view.HotOffers', {
        extend: 'Ext.Panel',
        xtype: 'hotOffersView',
        requires: ['Ext.carousel.Carousel', 'Ext.TitleBar'],
    
        config: {
                layout: 'card',
                items: [
                    {
                        docked: 'top',
                        xtype: 'titlebar',
                        ui: 'top-sub',
                        title: 'Hot Offers',
                    },
                    {
                        id: 'hotOffersCarousel',
                        xtype: 'carousel',
                        width: '100%',
                        items: [
                            {
                                html : 'Item 1',
                                style: 'background-color: #5E99CC'
                            },
                            {
                                html : 'Item 2',
                                style: 'background-color: #759E60'
                            },
                            {
                                html : 'Item 3'
                            }
                        ]
                    }
                ]
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Carousel (jcarousel) which displays items inline. When loading, the items first
Anyone have any idea why my jQuery carousel is working fine at the bottom
I have this carousel which rotates in 3D with the use of -webkit-transform: rotateX(rotation
I have a carousel slider, which have three static dots in the corner, one
I have a simple test app where I have a carousel that will instantiate
I have an MVC multi item & paged image carousel in Sencha Touch 2,
I currently have a carousel using Twitter's bootstrap on my website. I'm controlling which
I have a JQuery carousel which I have adapted for my needs. I need
I am using sencha to create a carousel which has multiple card panels. Each
I have a carousel scrolling through slides. The carousel has an overlay with a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.