Comments (5)
This issue is super old, not sure if relevant anymore.
from polymer.
We haven't actually answered this satisfactorily. It also helps me remember that we have a general issue that our event delegation system is under-designed.
from polymer.
Is this still relevant given that cancelBubble
has been deprecated? http://dom.spec.whatwg.org/#event
from polymer.
cancelBubble
is no longer relevant. Polymer no longer does event
dispatching, instead putting listeners directly on elements containing
declarative event attributes. The normal methods of affecting event
bubbling should now work: event.preventDefault() and
event.stopPropagation().
On Sun, Mar 16, 2014 at 2:08 PM, Addy Osmani [email protected]:
Is this still relevant given that cancelBubble has been deprecated?
http://dom.spec.whatwg.org/#event—
Reply to this email directly or view it on GitHubhttps://github.com//issues/74#issuecomment-37770994
.
from polymer.
Just to be clear preventDefault is unrelated to event propagation (a lot of
people have cargo culted these two into the same bucket)
On Mar 17, 2014 11:25 AM, "Steve Orvell" [email protected] wrote:
cancelBubble
is no longer relevant. Polymer no longer does event
dispatching, instead putting listeners directly on elements containing
declarative event attributes. The normal methods of affecting event
bubbling should now work: event.preventDefault() and
event.stopPropagation().On Sun, Mar 16, 2014 at 2:08 PM, Addy Osmani [email protected]:
Is this still relevant given that cancelBubble has been deprecated?
http://dom.spec.whatwg.org/#event—
Reply to this email directly or view it on GitHub<
https://github.com/Polymer/polymer/issues/74#issuecomment-37770994>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/74#issuecomment-37828402
.
from polymer.
Related Issues (20)
- Polymer Gestures SyntaxError: The string did not match the expected pattern. HOT 2
- Polymer cannot be used with Skypack HOT 2
- Pm2 error HOT 1
- Uncaught TypeError: Error resolving module specifier “@polymer/polymer/lib/legacy/polymer-fn.js”. Relative module specifiers must start with “./”, “../” or “/”. HOT 1
- Safari dom-if slot bug "A problem repeatedly occurred" HOT 1
- Single quotes and double quotes are removed from CSS url parameter breaking some data:image/... definitions HOT 2
- observers do not work with es2022 class properties
- Mobile clicks cancelled with VoiceOver or Talkback
- Stamp a new release of Polymer + elements with improved trusted type support HOT 4
- Missing Patents file
- readme: wrong path to webcomponents-loader.js HOT 1
- readme: new url to polymer-modulizer
- Sudden malfunction ouf our webpages : polymer 1.7.0.2 partially moved ? HOT 1
- Cant override paper elements CSS
- margin and padding not defined HOT 1
- Create a Security Policy
- Is there any other way to add unit test for Polymer 1.x component apart from Web component tester?
- Polymer-template
- Getting Windows undefined with using Angular11 server side rendering
- Cannot read property 'polyfillWrapFlushCallback' of undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polymer.