Comments (6)
@sebastien-roch I've been hit by this as well. It's unfortunate, but we can only fix this in a major release of templating.
from templating.
Sadly, we can't change it at this point because it could potentially break existing apps. What if we had some setting that could be set to get the desired behavior though, in a non-breaking way?
from templating.
@EisenbergEffect We cna do that via a static field on ElementEvents
class, say defaultListenerOptions
from templating.
That works for me. @sebastien-roch Would you be interested in adding this property and updating the implementation to use it? I think it would make a fine contribution and we'd be very happy to work with you to get your PR in. Thoughts?
from templating.
I can do that. Towards which branch should I target my pull request having this defaultListenerOptions
? I guess I have to create a second PR for a future breaking release where we just set capture
to false
by default.
from templating.
@sebastien-roch Thanks for that. It should be develop
branch
from templating.
Related Issues (20)
- Aurelia enhance() will crash if a <compose> element exists within a compiled component HOT 4
- @children Only Working in Chrome HOT 27
- Can't get property from view model in repeater HOT 5
- custom attribute bindable properties with interpolated values won't fire updates HOT 1
- Interface imports in output files HOT 10
- Constructor not called first HOT 4
- child-observation is broken when Zone.js is present on page and wraps MutationObserver HOT 5
- Custom elements as table rows break layout when importing resources as first business HOT 6
- A named slot cannot be used as content for the default slot of a child component HOT 1
- Failing karma tests report incorrect line numbers in console stacktrace
- Custom element creation is confusing HOT 5
- @child() decorator does not work properly in combination with if.bind HOT 2
- Initial range input displayed value rounded when value specified before step HOT 1
- CustomAttribute is not being evaluated when on or inside an if.bind-Element HOT 5
- Custom elements with common base class HOT 3
- Trash files in repo HOT 1
- Upgrading electron caused <compose> to hide other parts of UI HOT 4
- In aurelia template, it shows "Cannot read properties of null (reading 'insertBefore')" error. HOT 3
- Custom attribute primary property same name as attribute HOT 4
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 templating.