Latest adjustments trying to fix BotFramework-WebChat control bug as documented in https://github.com/Microsoft/BotFramework-WebChat/issues/970.

This commit is contained in:
Rodrigo Rodriguez 2018-09-01 12:36:04 -03:00
parent 9bd5995115
commit c419b292de
4 changed files with 30 additions and 28 deletions

View file

@ -4,21 +4,17 @@
"private": true, "private": true,
"homepage": ".", "homepage": ".",
"dependencies": { "dependencies": {
"@fortawesome/fontawesome": "^1.1.8", "ajv": "^6.5.3",
"@fortawesome/fontawesome-free-solid": "^5.0.13", "botframework-webchat": "^0.14.2",
"@fortawesome/fontawesome-svg-core": "^1.2.0-14",
"@fortawesome/react-fontawesome": "0.1.0-11",
"ajv": "^6.5.0",
"botframework-webchat": "^0.13.1",
"deep-extend": "^0.6.0", "deep-extend": "^0.6.0",
"fetch": "^1.1.0", "fetch": "^1.1.0",
"react": "^16.4.0", "react": "^16.4.2",
"react-dom": "^16.4.0", "react-dom": "^16.4.2",
"react-helmet": "^5.2.0", "react-helmet": "^5.2.0",
"react-player": "^1.6.2", "react-player": "^1.6.4",
"react-powerbi": "^0.1.7", "react-powerbi": "^0.2.1",
"react-scripts": "^1.1.4", "react-scripts": "^1.1.5",
"react-transition-group": "^2.3.1", "react-transition-group": "^2.4.0",
"url-join": "^4.0.0" "url-join": "^4.0.0"
}, },
"scripts": { "scripts": {

View file

@ -1,4 +1,3 @@
/* reset */ /* reset */
body .wc-app, .wc-app button, .wc-app input, .wc-app textarea { body .wc-app, .wc-app button, .wc-app input, .wc-app textarea {
font-family: "Segoe UI", sans-serif; font-family: "Segoe UI", sans-serif;
@ -56,6 +55,8 @@ body .wc-app, .wc-app button, .wc-app input, .wc-app textarea {
transition: transform 0.2s cubic-bezier(0, 0, 0.5, 1); } transition: transform 0.2s cubic-bezier(0, 0, 0.5, 1); }
.wc-message-groups.no-header { .wc-message-groups.no-header {
top: 0; } top: 0; }
.wc-message-groups.disabled {
bottom: 0; }
.wc-message-group-content { .wc-message-group-content {
overflow: hidden; } overflow: hidden; }
@ -69,6 +70,8 @@ body .wc-app, .wc-app button, .wc-app input, .wc-app textarea {
position: absolute; position: absolute;
right: 0; right: 0;
transition: height 0.2s cubic-bezier(0, 0, 0.5, 1); } transition: height 0.2s cubic-bezier(0, 0, 0.5, 1); }
.wc-suggested-actions.disabled {
bottom: 0; }
.wc-suggested-actions .wc-hscroll > ul { .wc-suggested-actions .wc-hscroll > ul {
height: 40px; height: 40px;
padding: 2px 3px; } padding: 2px 3px; }
@ -117,6 +120,7 @@ body .wc-app, .wc-app button, .wc-app input, .wc-app textarea {
right: 0; } right: 0; }
.wc-message-pane.show-actions .wc-message-groups { .wc-message-pane.show-actions .wc-message-groups {
top: 78px;
transform: translateY(-40px); } transform: translateY(-40px); }
.wc-message-pane.show-actions .wc-suggested-actions { .wc-message-pane.show-actions .wc-suggested-actions {
@ -438,25 +442,27 @@ body .wc-app, .wc-app button, .wc-app input, .wc-app textarea {
.wc-console .wc-upload { .wc-console .wc-upload {
cursor: pointer; cursor: pointer;
position: relative; } position: relative; }
.wc-console .wc-upload input[type="file"] {
font-size: 0;
height: 0;
left: 0;
opacity: 0;
outline: 0;
position: absolute;
top: 0;
width: 0; }
.wc-console .wc-upload svg { .wc-console .wc-upload svg {
height: 18px; height: 18px;
width: 26px; } width: 26px; }
.wc-console #wc-upload-input {
font-size: 0;
height: 0;
left: 0;
opacity: 0;
outline: 0;
position: absolute;
top: 0;
width: 0; }
.wc-console .wc-send { .wc-console .wc-send {
right: 0; } right: 0; }
.wc-console .wc-send.hidden { .wc-console .wc-send.hidden {
visibility: hidden; } visibility: hidden; }
.wc-console.has-upload-button .wc-textbox {
left: 48px; }
.wc-console .wc-textbox { .wc-console .wc-textbox {
bottom: 0; bottom: 0;
left: 48px; left: 11px;
right: 49px; } right: 49px; }
.wc-console .wc-textbox input { .wc-console .wc-textbox input {
background-color: transparent; } background-color: transparent; }

File diff suppressed because one or more lines are too long

View file

@ -56,7 +56,6 @@ import { IGBPackage } from 'botlib';
let appPackages = new Array<IGBPackage>(); let appPackages = new Array<IGBPackage>();
/** /**
* General Bots open-core entry point. * General Bots open-core entry point.
*/ */