Comments (4)
@Tharrington86 ,
Can you please attach any Screenshot for this bug.
Like Select file click cancel.
What happened at very next second.
from nebular.
@JeevaRP-SDE
Thank you for taking the time to assist. Here are some screen recordings showing what I am experiencing. I have also attached some code to the original post.
Cancelling the file picker closes the stepper and causes the entered data to be lost.
cancelNoSelect.webm
Cancelling the file picker after selecting and then deleting does not cause the stepper to close for one iteration, then closes stepper.
cancelAfterSelectAndDelete.webm
from nebular.
I confirmed that the file input is emitting a cancel event that is reaching my stepper component by adding an event listener to its constructor. Is there a way to make the stepper ignore that event?
from nebular.
I was finally able to solve my problem by using HostListener to listen for the cancel event and stopping its propagation on my upload component.
@HostListener('cancel', ['$event'])
onCancel(event: Event){
console.log('Cancel host listener.');
event.stopImmediatePropagation();
};
from nebular.
Related Issues (20)
- Repository state and engagement with the community HOT 9
- accordian
- Angular/Nebular upgrade styling not working properly HOT 1
- Nb Stepper Long Names Overlapping on Horizontal Alignment
- #nebular
- Support for Angular 17 HOT 4
- Install Nebular theme error -> Could not read Angular module file: /src/[object Object].ts HOT 8
- [Calendar] [DatePicker] components aren't translated when switching languages HOT 1
- nb-tabset not workign with ng-content
- The Nebular Dropdown (nbSelect) remains open and does not collapse when scrolling the page. HOT 1
- caught error defaultview
- error handling when serve the project(ng serve) I'm using angular 12th version
- logout
- logout
- pipe table
- Theme is not a map.
- Could not read Angular module file: /src/null.ts (Standalone) or /src/[object Object].ts (ng modules) HOT 6
- Docs: latest version 9.0.0 but appear to have version 13 installed HOT 2
- NbTreeGrid Error NullInjectorError: No provider for InjectionToken CDK_TABLE! HOT 14
- RangePicker only Month and Year
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 nebular.