Questions tagged [event-propagation]

Event propagation, or "bubbling", occurs when an event occurs inside an element, which is stacked in other elements.

Event propagation, or "bubbling", occurs when an event occurs inside an element, which is stacked in other elements. In this case the event is being dispatched from the innermost element towards the outermost element. Event propagation can be stopped programmatically, even though it might cause unexpected results.

236 questions
0
votes
1 answer

How do you continue firing an event that is trigger by another button.

So i have multiple submit button.
Chun ping Wang
  • 3,879
  • 12
  • 42
  • 53
0
votes
1 answer

Hide dynamically created menu on click anywhere on page jquery

I have some dynamically created menus on a page that need to hide whenever the user clicks anywhere on the page. This needs to work if the user clicks the menu, or tries to open another menu. I also want the event handler to unbind itself when done…
Jan
  • 5,688
  • 3
  • 27
  • 44
0
votes
1 answer

jQuery event handling / propagation / bubbling?

I'm trying to create a menu for a website, I'm using jQuery for this and I've run into a little problem. I have this structure
0
votes
1 answer

Odd delays in jquery UI executions

I've been working on a section of a web app for a while. The javascript file has grown quite big, with a good chunk of it responsible for initializing and handling jQuery UI elements and events. To make things more readable and maintainable, I…
Jason
  • 11,263
  • 21
  • 87
  • 181
0
votes
1 answer

jQuery stopPropagation - function fire up again

can you tell me how to stop function propagation. I need to fire up some function again after first click action. I using scrollTo jquery plugin for scroll my content and when i click in my 'fire' button content scroll nicely, but i can't do this…
Lukas
  • 7,384
  • 20
  • 72
  • 127
0
votes
1 answer

jQuery cycle with pager inside div with click events - can't stop propagation

I'm using the jQuery Isotope plugin. In each clickable (maximising/minimising) Isotope element, I'm having one jQuery Cycle slideshow generated like $('.slideshow.mainview').each(function () { var $pager = $('
Systembolaget
  • 2,514
  • 2
  • 21
  • 37
0
votes
2 answers

jQuery UI Autocomplete: Select custom item on enter

I have a textbox with an autocomplete tied to it. I'm also adding a custom element to the autocomplete dropdown when the text of the input box contains certain char. I'm adding this custom element customizing the _renderItem function of the…
willvv
  • 8,439
  • 16
  • 66
  • 101
-1
votes
1 answer

Angular - MatSlider propagating too much, also ngStyle not working (StackBlitz Available)

it's been a while since I didn't play with angular but I don't know what I'm doing wrong let's see what's the problem...
-1
votes
1 answer

AS3: Custom event propagation

I'm trying to put together a projector of a sequence of externally loaded swfs and my general question will be as short as it can be. If an external swf loaded into ctrl (an instance of MovieClip placed on stage during authoring) has in its first…
user776686
  • 7,933
  • 14
  • 71
  • 124
-1
votes
1 answer

IE8 jQuery propagation - Click anywhere on screen activates scroll

This jQuery code works great on all browsers except IE8. What happens is that when I click anywhere on a page in IE8, whether on a link, a div or just in the white space, it will activate the scroll event. I think it is a propagation problem, and I…
MikesBarto2002
  • 181
  • 3
  • 15
-1
votes
1 answer

How the event is propagated?

I have a main window. It has a central widget and a docked tree widget. Right click a tree item, a context menu pops up. Right click somewhere in the tree but out of the menu, a mouse event is generated. How does the mouse event propagate? Begin…
user1899020
  • 13,167
  • 21
  • 79
  • 154
1 2 3
15
16