You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2016/09/08 04:46:51 UTC
[34/50] [abbrv] ignite git commit: IGNITE-3683 Fixed dropdown postion
on show.
IGNITE-3683 Fixed dropdown postion on show.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/05bf8023
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/05bf8023
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/05bf8023
Branch: refs/heads/ignite-3629
Commit: 05bf80231b97d3ac73b09aa60372c4f7ff679c0c
Parents: 1fe790a
Author: Maxim Afanasiev <ma...@gridgain.com>
Authored: Thu Sep 1 17:02:25 2016 +0700
Committer: Andrey Novikov <an...@apache.org>
Committed: Thu Sep 1 17:02:25 2016 +0700
----------------------------------------------------------------------
.../helpers/jade/form/form-field-dropdown.jade | 1 +
.../app/modules/form/field/input/select.scss | 21 ++++++++++++++++++++
.../frontend/app/modules/form/form.module.js | 1 +
3 files changed, 23 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/05bf8023/modules/web-console/frontend/app/helpers/jade/form/form-field-dropdown.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/helpers/jade/form/form-field-dropdown.jade b/modules/web-console/frontend/app/helpers/jade/form/form-field-dropdown.jade
index 807982a..a8496bc 100644
--- a/modules/web-console/frontend/app/helpers/jade/form/form-field-dropdown.jade
+++ b/modules/web-console/frontend/app/helpers/jade/form/form-field-dropdown.jade
@@ -31,6 +31,7 @@ mixin ignite-form-field-dropdown(label, model, name, disabled, required, multipl
bs-options='item.value as item.label for item in #{options}'
data-multiple=multiple ? '1' : false
+ data-container='body > .wrapper'
tabindex='0'
http://git-wip-us.apache.org/repos/asf/ignite/blob/05bf8023/modules/web-console/frontend/app/modules/form/field/input/select.scss
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/modules/form/field/input/select.scss b/modules/web-console/frontend/app/modules/form/field/input/select.scss
new file mode 100644
index 0000000..55bbd58
--- /dev/null
+++ b/modules/web-console/frontend/app/modules/form/field/input/select.scss
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+.select.dropdown-menu.ng-leave {
+ transition: none !important; /* disable transitions */
+ animation: none 0s !important; /* disable keyframe animations */
+}
http://git-wip-us.apache.org/repos/asf/ignite/blob/05bf8023/modules/web-console/frontend/app/modules/form/form.module.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/modules/form/form.module.js b/modules/web-console/frontend/app/modules/form/form.module.js
index c014c29..23eafcd 100644
--- a/modules/web-console/frontend/app/modules/form/form.module.js
+++ b/modules/web-console/frontend/app/modules/form/form.module.js
@@ -21,6 +21,7 @@ import angular from 'angular';
import './field/field.scss';
import './field/feedback.scss';
import './field/input/text.scss';
+import './field/input/select.scss';
// Panel.
import igniteFormPanel from './panel/panel.directive';