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 8450967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:06:45+00:00 2026-06-10T11:06:45+00:00

I bound a transitionend event to div1 . When div1 ‘s transition was end,

  • 0

I bound a transitionend event to div1. When div1‘s transition was end, the event ran. There’s no problem.

I encountered a special case:

I added 3 paragraphs to this div1, when each paragraph’s transition is ended, div1‘s transitionend event also ran. So the transitionend event ran 4 times. >.<

In div1‘s transitionend event’s listener function’s body, I can see that event.target !== this. I feel it’s pretty ridiculous!

Chrome and Firefox both has this problem. So I guess this is not a browser’s HTML5 spec implementation bug.

Can anyone explain why an element’s transitionend event also can be triggered by this element’s children element?

Thank you.

  • 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-10T11:06:46+00:00Added an answer on June 10, 2026 at 11:06 am

    This is called event bubbling. Many events occuring on a child element will, by default, bubble up through the parents after the event handler is called on the originating object. You can either detect bubbling as you’ve noticed by examining theevent object or you can prevent bubbling by stopping the propagation when you handle the event on the source object.

    Stopping propagation is one of those things that is different in IE vs. other browsers. In other browsers, you call:

    event.stopPropagation()
    

    In IE before IE9:

    window.event.cancelBubble = true;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I bound a mouseenter/mouseleave event to an element (just an image), which in turn
mouseover should be bound as event that checks if statement each time mouse enters
Possible Duplicate: GCC STL bound checking Is there something like a automatic debug version
Is there a Lower Bound function on a SortedList<K ,V> ? The function should
I bound the event <Return> to a Button, thinking that this would cause the
I have successfully bound a control to a property on my page. The property
I have a data bound listbox that lists names of items, I am now
I want to bound google map in android around the UK,so the user can't
I have a datagridview bound to a datasource, column[0] AgencyName is a primary key
I have some checkboxes bound to an array in my model. This works great,

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.