Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 11 2016 19:26

    Splaktar on master

    fix(toast): apply theming corre… perf(icon): better handling of … fix(list): copy ng-show, ng-hid… and 49 more (compare)

  • Jun 15 2016 16:14

    Splaktar on v1.1.0-rc.5

    release: version 1.1.0-rc.5 (compare)

  • May 14 2016 05:55

    Splaktar on master

    feat(panel): initial implementa… update(panel): promise logic im… update(panel): add and remove p… and 44 more (compare)

  • May 05 2016 20:47

    Splaktar on v1.1.0-rc4

    release: version 1.1.0-rc4 (compare)

  • May 05 2016 20:47

    Splaktar on v1.1.0-rc3

    release: version 1.1.0-rc3 (compare)

  • May 03 2016 22:28

    Splaktar on es6-tutorial

    Prepare clean start Remove bow… install angular-material And i… working version of starter-app and 19 more (compare)

  • May 03 2016 22:22

    Splaktar on master

    Tutorial Readme updates Updates for Tutorial #2 Update README with tutorial ste… and 56 more (compare)

  • May 01 2016 22:56

    Splaktar on fixBlurryRightNavIe11

    fix(sidenav): rightNav button a… (compare)

  • May 01 2016 22:37

    Splaktar on master

    fix(dialog): don't clobber md-d… update version number in packag… update(changelog): sort so 1.1.… and 1 more (compare)

  • May 01 2016 22:34

    Splaktar on fixSideNavDemo

    docs(sidenav): leftNav text isn… (compare)

  • Apr 27 2016 04:14

    Splaktar on fixSideNavDemo

    docs(sidenav): invalid `md-whit… (compare)

  • Apr 27 2016 03:54

    Splaktar on master

    update(changelog): add missing … fix(toolbar): remove transition… fix(tests): Cleans up the DOM a… and 2 more (compare)

  • Apr 23 2016 01:32

    Splaktar on master

    update(docs): improve docs for … update(docs): renamed `md-text-… fix(list): clickable list-items… and 71 more (compare)

  • Apr 11 2016 03:20

    Splaktar on improveExtendThemeDoc

    update(docs): improve docs for … (compare)

  • Apr 11 2016 03:15

    Splaktar on improveExtendThemeDocs

    update(docs): improve docs for … (compare)

  • Apr 11 2016 02:57

    Splaktar on updateThemingDocs

    update(docs): renamed `md-text-… (compare)

  • Apr 11 2016 02:48

    Splaktar on master

    fix(demo, codepen): use secure … fix(build, layout): remove depr… update(build): remove stale bow… and 72 more (compare)

  • Apr 11 2016 02:48

    Splaktar on v1.1.0-rc2

    release: version 1.1.0-rc2 (compare)

  • Mar 19 2016 03:00

    Splaktar on master

    fix(checkbox): pointer events d… update(tests): remove disabled/… fix(datepicker): enable scrolli… and 20 more (compare)

  • Mar 13 2016 05:41

    Splaktar on v1.0.6

    Revert "fix(select): made selec… update(layout): add layout-nowr… fix(whiteframe): update breakpo… and 57 more (compare)

Dave Ackerman
@dmackerman
:)
Wills Bithrey
@WillsB3
@dmackerman Nice :D
Marcy Sutton
@marcysutton
@dmackerman you might also look at the md-sidenav-focus directive
borodaalex
@borodaalex
This is how I've found workaround for the my question above:
Firstly, set escapeToClose of dialog to false and before calling show method on a md-dialog I've added keydown event handler on body.
Secondly, in this event handler I check whether pressed key is esc and whether we are inside auto-complete element.
In total, workaround works as expected: if we press esc button inside auto-complete element dialog is not closed, but
esc processed by auto-complete element as planned by base auto-complete logic.
$scope.newDialog = function(event, data) {
$('body').on('keydown', onModalKeydown);
$mdDialog.show({
clickOutsideToClose: true,
escapeToClose : false,
controller: 'ctrl',
template: ....,
})
};
        function onModalKeydown(event){
            var key = event.which || event.keyCode;
            // if pressed button is not esc or focus is on autocomplete control just return;
            // this way we will pass logic to manage key event handling further to corresponding conrols
            // (in case of esc btn to autocomplete control and not closing dialog)
            if (key !== 27 || checkFocus()) return;
            $mdDialog.hide();
            $('body').off('keydown', onModalKeydown);
        }

        function checkFocus(){
            var focused = $(document.activeElement);
            if(focused.attr('type') === 'search') {
                return true;
            }
            return false;
        }
Wills Bithrey
@WillsB3
@borodaalex I guess what needs to happen is the autocomplete component needs to stop the esc key event propagating if the event was handled by the autocomplete... Did you create an issue on GitHub for this? seems like this should be handled within ngMaterial (if it isn't already as you seem to have found).
borodaalex
@borodaalex
@WillsB3, no, I did not create an issue) Today is my first day I've played with angular/material, so I did not think it was an issue, just not implemented functionality
borodaalex
@borodaalex
@WillsB3 , created issue angular/material#2931
Wills Bithrey
@WillsB3
:+1:
Rares Golea
@rgolea
Hey people… I’m making a dashboard cms for a starter page. I’m using angular-material. Feel free to check it out right here https://github.com/rgolea/angular-deployd-admin
Georgi Georgiev
@gngeorgiev
Hey guys I am making a mobile app with angular material, you can check it out here: http://trainmate.co
Rares Golea
@rgolea
Hey guys! Is there any way I might be able to get my $mdThemeProvider to change themes on based on themes on a db?
bastienJS
@bastienJS
How can I make vertical tabs with MD-Tabs?
Rares Golea
@rgolea
Hey guys! I want to define a theme based on a combination my user makes of the 19 palettes given by angular-material and saved inside a database. Any Ideas on how can I declare the theme after? on .run() or maybe pass an ajax function inside the .config() function?
@bastienJS If it’s not there… you cant… right now...
but you could make a list with the ng-click function on them...
Rares Golea
@rgolea
try this where the subtitle says list controls
maybe it suits you
Vinay Agarwal
@vinkaga
Hello, how do you center text in the toolbar? I think there is a simple angular material directive for it.
Vinay Agarwal
@vinkaga
@Tallyb Thanks
Rares Golea
@rgolea
Hey guys! Any idea on how to use $mdTheming in the run function?
borodaalex
@borodaalex
Hi, all. Is it possible somehow disable animation on https://material.angularjs.org/latest/#/api/material.components.select/directive/mdSelect ?
So it will appear right away without delaying...
How it works now you can see here
https://material.angularjs.org/latest/#/demo/material.components.select
Dave Ackerman
@dmackerman
can you use ngOptions with mdSelect?
Dave Ackerman
@dmackerman
is there any timeline for a menu component? we need it so bad :worried:
borodaalex
@borodaalex
@dmackerman, as soon as I found this is not supported now
angular/material#1837
Rares Golea
@rgolea
Hey! I don’t know if it’s my problem or there is a small bug in angular/material… angular/material#2977 Basically in an mdList, the secondary button doesn’t get the aria-label properly. Mac’s VoiceOver surely doesn’t read it. You can see more details in the issue I’ve submitted. Does anyone have any idea in which other way can I implement it?
Vinay Agarwal
@vinkaga
Hello, how do we specify alpha component for a palette color?
demetriusnunes
@demetriusnunes
hi there, i am having an issue in my app where angular material is injecting several repeated style tags in the head of my app. any ideas?
demetriusnunes
@demetriusnunes
(is there a way to paste a image here?)
Marcy Sutton
@marcysutton
@demetriusnunes that's how theming works, it looks like that due to a bug in Safari
Good catch @rgolea, it's a bug. For some reason the md-icons are ending up with aria-hidden="true" which negates aria-label in the accessibility tree.
That is sort-of a confusing API, because the code actually wraps your md-icon in a semantic button element. Just as an FYI
demetriusnunes
@demetriusnunes
@marcysutton really? I mean, there are 15 <style> sections in the head and another 15 in the body. They all are pretty bulky and look the same.
ok, the body ones are not angular-material fault. they are coming from bounce.js
Dave Ackerman
@dmackerman
getting a lot of Cannot read property 'addEventListener' of null errors, think it has to do with mdList but trying to track it down.
Rares Golea
@rgolea
@marcysutton should i wrap that in a button?
Dave Ackerman
@dmackerman
0.9.5 just went live it seems
xenit-raven
@xenit-raven
Wow.. the new layout for the material.angularjs.org site is really annoying now
barely any room left on the list to the left
and i can't use pagedown/pageup anymore within the demo pages
also the button to go to the demo from api pages is gone
Marcy Sutton
@marcysutton
@xenit-raven file a Github issue
Dave Ackerman
@dmackerman
@marcysutton is there anything special you have to do to get toolbars to be sticky on top of <md-content>
it seems inconsistent.
Dave Ackerman
@dmackerman
ah. it appears that the md-toolbar-tools class is required inside toolbar for it to work
nope. i’m wrong :)
think i was missing layout-fillon a parent container
Dave Ackerman
@dmackerman
with mdGridList, do you have to force a reflow when you change the array?
Dave Ackerman
@dmackerman
I think it’s pretty overkil to apply letter spacing to components;
letter-spacing: 0.01em;